Top Description Methods
org.antlr.v4.runtime.misc

public @Interface NotNull

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:FIELD, METHOD, PARAMETER, LOCAL_VARIABLE
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

This annotation marks a field, parameter, local variable, or method (return value) as never being null. The specific semantics implied by this annotation depend on the kind of element the annotation is applied to.

The NullUsageProcessor annotation processor validates certain usage scenarios for this annotation, with compile-time errors or warnings reported for misuse. For detailed information about the supported analysis, see the documentation for NullUsageProcessor.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString