|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface AssertNonNullAfter
Indicates that if the method terminates successfully, the value expressions are non-null.
This is useful for methods that initialize a field, for example.
NonNull,
NullnessChecker| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
The value can be: fields on receiver object. |
| Element Detail |
|---|
public abstract String[] value
next, parent.
list()
# followed
by the parameter index (index starts with 0), e.g. #2.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||