
io.github.sporklibrary.annotations.Nullable Maven / Gradle / Ivy
package io.github.sporklibrary.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is only used as a way of documenting nullability. It should only be used for
* internal classes and never for public classes/methods/fields.
*/
@Retention(RetentionPolicy.SOURCE)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
public @interface Nullable {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy