Notable changes 2019.2: add @ApiStatus.NonExtendable and @ApiStatus.OverrideOnly annotations.

This commit is contained in:
Sergey Patrikeev 2019-05-15 17:30:46 +03:00 committed by GitHub
parent aaa7b31eb5
commit efdda4f59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,12 @@ title: Notable Changes in IntelliJ Platform and Plugins API 2019.*
## Notable Changes in IntelliJ Platform 2019.2
`org.jetbrains.annotations.ApiStatus.NonExtendable`
: Indicates that the annotated API class, interface or method must not be extended, implemented or overridden by external plugins but can be only obtained or instantiated (for classes and interfaces), or called (for methods).
`org.jetbrains.annotations.ApiStatus.OverrideOnly`
: Indicates that the annotated method is part of SPI (Service Provider Interface), which is intended to be only implemented or overridden but never called by external plugins.
`com.intellij.util.Query.forEach`
: Defaults to thread-safe to prevent problems with clients using unsynchronized collections.
@ -25,4 +31,4 @@ title: Notable Changes in IntelliJ Platform and Plugins API 2019.*
: Assert references are created for the given underlying `PsiElement`. [Issue](https://youtrack.jetbrains.com/issue/IDEA-203954)
`CachedValue` more strict assertions
: Enabled in tests and EAP/internal mode, see `CachedValueStabilityChecker` Javadoc.
: Enabled in tests and EAP/internal mode, see `CachedValueStabilityChecker` Javadoc.