Package org.jetbrains.annotations


package org.jetbrains.annotations
  • Class
    Description
    Set of annotations which can be used to specify status of API Element.
    Indicates that the annotated element firstly appeared in the specified version of the library, so the code using that element won't be compatible with older versions of the library.
    Indicates that a public API of the annotated element (class, method or field) is not in stable state yet.
    Indicates that the annotated element (class, method, field, etc) must not be considered as a public API.
    Indicates that the annotated API class, interface or method must not be extended, implemented or overridden.
    Indicates that the annotated method is part of SPI (Service Provider Interface), which is intended to be only implemented or overridden but not called by clients of the declaring library.
    Indicates that a public API of the annotated element (class, method or field) is subject to removal in a future version.
    Helper annotations for asynchronous computation.
    Indicates that the marked method executes async computation.
    Indicates that the marked method schedules async computation.
    Indicates that the annotated method is inherently blocking and should not be executed in a non-blocking context.
    Indicates that the annotated executor (CoroutineContext, Scheduler) allows blocking methods execution.
    Specifies some aspects of the method behavior depending on the arguments.
     
    Allows to change the presentation of an object in debuggers
    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.
    Specifies that an element of the program is an user-visible string which needs to be localized.
     
    Indicates that the annotated method is inherently non-blocking and can be executed in a non-blocking context.
    Indicates that the annotated executor (CoroutineContext, Scheduler) does not allow blocking methods execution.
    Specifies that an element of the program is not a user-visible string which needs to be localized, or does not contain such strings.
    An element annotated with NotNull claims null value is forbidden to return (for methods), pass to (parameters) and hold (local variables and fields).
    An element annotated with Nullable claims null value is perfectly valid to return (for methods), pass to (parameters) or hold in (local variables and fields).
    Specifies that a method parameter, local variable, field or a method return value must be a valid property key in a specific resource bundle.
    An annotation which allows to specify for integral type (byte, char, short, int, long) an allowed values range.
    A member or type annotated with TestOnly claims that it should be used from testing code only.
    An element annotated with UnknownNullability claims that no specific nullability should be assumed by static analyzer.
    An annotation which marks a Collection or Map type as unmodifiable.
    An annotation which marks a Collection or Map type as unmodifiable view.
    A member or type annotated with VisibleForTesting claims that its visibility is higher than necessary, only for testing purposes.