[project model] load library types only when it's needed to find a LibraryKind by...
authorNikolay Chashnikov <Nikolay.Chashnikov@jetbrains.com>
Mon, 17 Jan 2022 07:25:53 +0000 (10:25 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Mon, 17 Jan 2022 09:32:48 +0000 (09:32 +0000)
commit3316f13db6e7ec6427ebd0a7307f1e4396619937
tree94e4cbab4346244e888f568dd28948df88e42092
parent8254bc6db4662f35cf589a791c9c9133ce0b5b11
[project model] load library types only when it's needed to find a LibraryKind by ID (IDEA-221529)

GitOrigin-RevId: af9b928da44e69575b1d53c40a0c6a88c69227bf
platform/lang-impl/src/com/intellij/openapi/roots/impl/libraries/LibraryKindRegistryImpl.kt [moved from platform/lang-impl/src/com/intellij/openapi/roots/impl/libraries/LibraryKindLoader.kt with 96% similarity]
platform/platform-resources/src/META-INF/LangExtensions.xml
platform/projectModel-api/resources/META-INF/ProjectModel.xml
platform/projectModel-api/src/com/intellij/openapi/roots/libraries/LibraryKind.java
platform/projectModel-api/src/com/intellij/openapi/roots/libraries/LibraryKindRegistry.kt [new file with mode: 0644]
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/libraries/LibraryImpl.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/libraries/UnknownLibraryKind.java
platform/projectModel-impl/src/com/intellij/workspaceModel/ide/impl/legacyBridge/library/LibraryStateSnapshot.kt
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/roots/KotlinNonJvmSourceRootConverterProvider.kt