NonNull


@MustBeDocumented
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.FUNCTIONAnnotationTarget.PROPERTY_GETTERAnnotationTarget.PROPERTY_SETTERAnnotationTarget.VALUE_PARAMETERAnnotationTarget.FIELDAnnotationTarget.LOCAL_VARIABLEAnnotationTarget.ANNOTATION_CLASSAnnotationTarget.FILE])
@Target(value = [ElementType.METHODElementType.PARAMETERElementType.FIELDElementType.LOCAL_VARIABLEElementType.ANNOTATION_TYPEElementType.PACKAGE])
public annotation NonNull


Denotes that a parameter, field or method return value can never be null.

This is a marker annotation and it has no specific attributes.

Summary

Public constructors

Public constructors

NonNull

public NonNull()