CanIgnoreReturnValue |
Indicates that the return value of the annotated method can be safely ignored.
|
CheckReturnValue |
Indicates that the return value of the annotated method must be checked.
|
CompatibleWith |
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.
|
DoNotCall |
The method to which this annotation is applied cannot be called.
|
DoNotMock |
Annotation representing a type that should not be mocked.
|
ForOverride |
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 private ), and
overriding methods should not be directly invoked at all.
|
Immutable |
The class to which this annotation is applied is immutable.
|
MustBeClosed |
Annotation for constructors of AutoCloseables or methods that return an AutoCloseable and require
that the resource is closed.
|
OverridingMethodsMustInvokeSuper |
Indicates that any concrete method that overrides the annotated method, directly or indirectly,
must invoke super.theAnnotatedMethod(...) at some point.
|