Annotation Type | Description |
---|---|
Mutable |
Annotate anything of type descendant from Iterable or Iterator with @Mutable if the corresponding collection/iterator
is allowed to be mutated
|
NotNull |
An element annotated with NotNull claims
null value is forbidden
to return (for methods), pass to (parameters) and hold (local variables and fields). |
Nullable |
An element annotated with Nullable claims
null value is perfectly valid
to return (for methods), pass to (parameters) and hold (local variables and fields). |
ReadOnly |
Annotate anything of type descendant from Iterable or Iterator with @ReadOnly if the underlying reference is not intended for mutation.
|
Copyright © 2015. All Rights Reserved.