javax.annotation.Nonnull Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javax.annotation Show documentation
Show all versions of javax.annotation Show documentation
javax.annotation: A minimal, J2CL compatible javax.annotation library
package javax.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* The Nonnull annotation is used to mark a field, parameter or variable must not be null.
*/
@Documented
@Retention( RetentionPolicy.RUNTIME )
public @interface Nonnull
{
}