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

com.wavefront.sdk.common.annotation.NonNull Maven / Gradle / Ivy

package com.wavefront.sdk.common.annotation;

import javax.annotation.Nonnull;
import javax.annotation.meta.TypeQualifierNickname;
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;

/**
 * A common annotation to declare that annotated elements cannot be {@code null}.
 * Should be used at parameter, return value, and field level.
 *
 * @author Han Zhang ([email protected]).
 */
@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Nonnull
@TypeQualifierNickname
public @interface NonNull {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy