Package org.eclipse.jdt.annotation
package org.eclipse.jdt.annotation
This package contains annotations that can trigger special behavior
when annotated types are compiled by the Eclipse Compiler for Java.
Currently, the package contains annotations that specify nullness contracts for annotated elements.
Additionally, class Checks provides
utility methods for performing checked type conversions.
-
ClassDescriptionUtility functions intended for use with the null annotations defined in this package.Locations that can be affected by a
NonNullByDefaultannotation.Qualifier for a reference type in aTYPE_USEposition: The type that has this annotation is intended to not include the valuenull.Applying this annotation to a declaration has the effect that type references, which are contained in the declaration, and for which a null annotation is otherwise lacking, should be considered as@NonNull.Qualifier for a reference type in aTYPE_USEposition: The type that has this annotation explicitly includes the valuenull.