|
Eclipse JDT Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=CLASS)
@Target(value={METHOD,PARAMETER,LOCAL_VARIABLE})
public @interface NonNull
Qualifier for a type in a method signature or a local variable declaration:
The entity (return value, parameter, local variable) whose type has this
annotation can never have the value null at runtime.
This has two consequences:
NullPointerException can occur at runtime.null value to the entity is a compile time error.null, or@Nullable type.
|
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.