| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | Blocking
Indicates that the annotated method is inherently blocking and should not be executed in a non-blocking context. |
| public @interface | BlockingExecutor
Indicates that the annotated executor (CoroutineContext, Scheduler) allows blocking methods execution. |
| public @interface | CheckReturnValue
Specifies that the method is impure and that its return value must be used. |
| public @interface | Contract
Specifies some aspects of the method behavior depending on the arguments. |
| public @interface | MustBeInvokedByOverriders
The annotation should be applied to overridable non-abstract method and indicates that all the overriders must invoke this method via superclass method invocation expression. |
| public @interface | Nls
Specifies that an element of the program is a user-visible string which needs to be localized. |
| public @interface | NonBlocking
Indicates that the annotated method is inherently non-blocking and can be executed in a non-blocking context. |
| public @interface | NonBlockingExecutor
Indicates that the annotated executor (CoroutineContext, Scheduler) does not allow blocking methods execution. |
| public @interface | NonNls
Specifies that an element of the program is not a user-visible string which needs to be localized, or does not contain such strings. |
| public @interface | NotNull
An element annotated with NotNull claims |
| public @interface | |
| public @interface | PropertyKey
Specifies that a method parameter, local variable, field or a method return value must be a valid property key in a specific resource bundle. |
| public @interface | Range
An annotation which allows to specify for integral type (byte, char, short, int, long) an allowed values range. |
| public @interface | TestOnly
A member or type annotated with TestOnly claims that it should be used from testing code only. |
| public @interface | UnknownNullability
An element annotated with |
| public @interface | Unmodifiable
An annotation which marks a |
| public @interface | UnmodifiableView
An annotation which marks a |
| public @interface | VisibleForTesting
A member or type annotated with VisibleForTesting claims that its visibility is higher than necessary, only for testing purposes. |