Top Description Methods
org.codehaus.commons.nullanalysis

public @Interface NotNullByDefault

extends Annotation
Annotations
@Target:TYPE, LOCAL_VARIABLE, METHOD, CONSTRUCTOR, FIELD, PACKAGE
@Retention:CLASS
Static Imports
java.lang.annotation.ElementType.CONSTRUCTOR, .ElementType.FIELD, .ElementType.LOCAL_VARIABLE, .ElementType.METHOD, .ElementType.PACKAGE, .ElementType.TYPE

By default, types in method signatures that lack a null annotation are regarded as nullable. This annotation (with it default value true) indicates that types in method signatures that lack a null annotation are regarded as non-null. It is generally good practice to add @NotNullByDefault to all your package declarations (i.e. 'package-into.java' files), because in well-designed code (especially API methods), @NonNull is significantly more frequent than @Nullable.
See Also
ECLIPSE Help - Using null annotations

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public boolean value()