api: annotate classes and interfaces from project model API as NonExtendable
authornik <Nikolay.Chashnikov@jetbrains.com>
Fri, 24 May 2019 09:02:52 +0000 (12:02 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 24 May 2019 10:44:00 +0000 (13:44 +0300)
commit03982a90806bb340e937e86a1d01b1745bba498b
treed0f78e050bd85f0854c2f51b38a102cdb7127a68
parent2e14fa933a1a60b1600da0057b8e25facbdeaaf6
api: annotate classes and interfaces from project model API as NonExtendable

Plugins aren't supposed to provide their own implementations of these classes, and such implementations may cause problems when we start using different storage for project model.

GitOrigin-RevId: 33a4a0062a7e765a491fadc272bee21f87c34481
25 files changed:
platform/projectModel-api/src/com/intellij/openapi/roots/ContentEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/ContentFolder.java
platform/projectModel-api/src/com/intellij/openapi/roots/ExcludeFolder.java
platform/projectModel-api/src/com/intellij/openapi/roots/ExportableOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/FileIndex.java
platform/projectModel-api/src/com/intellij/openapi/roots/InheritedJdkOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/JavaModuleExternalPaths.java
platform/projectModel-api/src/com/intellij/openapi/roots/JdkOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/LibraryOrSdkOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/LibraryOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModifiableRootModel.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleFileIndex.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleJdkOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleRootManager.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleRootModel.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleSourceOrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/OrderEntry.java
platform/projectModel-api/src/com/intellij/openapi/roots/OrderEnumerator.java
platform/projectModel-api/src/com/intellij/openapi/roots/OrderEnumeratorSettings.java
platform/projectModel-api/src/com/intellij/openapi/roots/OrderRootsEnumerator.java
platform/projectModel-api/src/com/intellij/openapi/roots/ProjectFileIndex.java
platform/projectModel-api/src/com/intellij/openapi/roots/ProjectRootManager.java
platform/projectModel-api/src/com/intellij/openapi/roots/RootProvider.java
platform/projectModel-api/src/com/intellij/openapi/roots/SourceFolder.java