|
Eclipse JDT Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=CLASS)
@Target(value={PACKAGE,TYPE,METHOD,CONSTRUCTOR})
public @interface NonNullByDefault
This annotation can be applied to a package, type, method or constructor in order to
define that all contained entities for which a null annotation is otherwise lacking
should be considered as @NonNull.
@NonNullByDefault annotation with the argument false,
a default from any enclosing scope can be canceled for the element being annotated.
@NonNullByDefault
annotation is used within the scope of another @NonNullByDefault
annotation, the innermost annotation defines the
default applicable at any given position (depending on the parameter value()).package-info.java is used.
| Optional Element Summary | |
|---|---|
boolean |
value
When parameterized with false, the annotation specifies that the current element should not apply
any default to un-annotated types. |
public abstract boolean value
false, the annotation specifies that the current element should not apply
any default to un-annotated types.
|
Eclipse JDT Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.