Annotation Types Summary
Indicates that the return value of the annotated method can be safely ignored.
Indicates that the return value of the annotated method must be checked.
Declares that a parameter to a method must be "compatible with" one of the type parameters in the
method's enclosing class, or on the method itself.
Annotation for method parameter and class field declarations, which denotes that corresponding
actual values must be compile-time constant expressions.
The method to which this annotation is applied cannot be called.
Annotation representing a type that should not be mocked.
Annotation for a method that takes a printf-style format string as an argument followed by
arguments for that format string.
Annotation for method parameter declarations which denotes that actual parameters will be used as
a format string in printf-style formatting.
Indicates that the annotated method is provided only to be overridden: it should not be
invoked from outside its declaring source file (as if it is
overriding methods should not be directly invoked at all.
The class to which this annotation is applied is immutable.
The type parameter to which this annotation is applied should only be instantiated with immutable
Annotation declaring that the target annotation is incompatible with any one of the provided
Indicates that callers of this API should be inlined.
An annotation that disables validation of the
annotation's correctness (i.e.:
that it accurately represents an inlining of the annotated method).
Annotation for constructors of AutoCloseables or methods that return an AutoCloseable and require
that the resource is closed.
Annotation for method declarations, which denotes that this method will not cause allocations
that are visible from source code.
Indicates that any concrete method that overrides the annotated method, directly or indirectly,
super.theAnnotatedMethod(...) at some point.
Annotation declaring that the target annotation requires all the specified modifiers.
Restrict this method to callsites with a allowlist annotation.
Indicates that the PackageLocation warning should be suppressed for this package.
The parameter or local variable to which this annotation is applied is non-final.