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
The newest version!
package javax.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The Nonnull annotation is used to mark a field, parameter or variable must not be null.
*/
@Documented
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD } )
public @interface Nonnull
{
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy