ParametersAreNonnullByDefault and ParametersAreNullableByDefault.See: Description
| Annotation Type | Description |
|---|---|
| FieldsAreNonnullByDefault | Deprecated
since 2.2.0.
|
| FieldsAreNullableByDefault | Deprecated
since 2.2.0.
|
| ReturnValuesAreNonnullByDefault | Deprecated
since 2.2.0.
|
| ReturnValuesAreNullableByDefault | Deprecated
since 2.2.0.
|
ParametersAreNonnullByDefault and ParametersAreNullableByDefault.
For some reason, JSR-305 only has these annotations for parameters, but allows you to build your own versions for
fields and return values.
Both classes and packages (package-info.java) can be annotated.
If a package is annotated then subpackages are not also included. Subpackages must be
annotated individually.
Copyright © 2022 Atlassian. All rights reserved.