mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Notable changes 2019.2: add @ApiStatus.NonExtendable and @ApiStatus.OverrideOnly annotations.
This commit is contained in:
parent
aaa7b31eb5
commit
efdda4f59a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user