All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.sporklibrary.annotations.Nullable Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
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