Top Description Methods
io.micrometer.common.lang

public @Interface NonNullFields

extends Annotation
Annotations
@Target:PACKAGE, TYPE
@Retention:RUNTIME
@Documented
@Nonnull
@TypeQualifierDefault:FIELD
Imports
javax.annotation.Nonnull, javax.annotation.meta.TypeQualifierDefault, java.lang.annotation.*

A common annotation to declare that fields are to be considered as non-nullable by default for a given package.

Leverages JSR-305 meta-annotations to indicate nullability in Java to common tools with JSR-305 support and used by Kotlin to infer nullability of the API.

Should be used at package level in association with Nullable annotations at field level.

Note

This file has been copied from org.springframework.lang.

Author
Sebastien Deleuze
See Also
NonNullFields, Nullable, NonNull

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString