javax.annotation.Nullable 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 Nullable annotation is used to mark a field, parameter or variable that can be null and should be checked before usage.
*/
@Documented
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD } )
public @interface Nullable
{
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy