io.micrometer.context
pack-priv @Interface Nullable
extends Annotation
- Annotations
- @Target:METHOD, PARAMETER, FIELD
- @Retention:RUNTIME
- @Documented
- @Nonnull
- when:MAYBE
- @TypeQualifierNickname
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, javax.annotation.Nonnull, javax.annotation.meta.TypeQualifierNickname, .When
Annotation to declare that a method parameter, return value, or field can be
null under some circumstance. Uses JSR-305 meta-annotations to indicate
nullability. Overridden methods override should redeclare the annotation unless they
behave differently.
- Author
- Rossen Stoyanchev
- Since
- 1.0.0
- See Also
NonNullApi, NonNullFields