descriptorFor

Returns the ModelDescriptor for the given modelId. Resolves through in-JAR resource, then on-disk cache, then lazy extraction (see class KDoc). The first successful resolution is memoized.

Throws

if modelId is not declared by this bundle

if this LoadedBundle has already been closed

if lazy extraction fails (model build error)