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

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

The newest version!
package com.wavefront.sdk.common.annotation;

import javax.annotation.Nonnull;
import javax.annotation.meta.TypeQualifierDefault;
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 parameters and return values
 * are to be considered as non-nullable by default for a given package.
 * 

* Annotate package declaration in "package-info.java" files, then it * sets the non-nullable semantics to the package. * * @author Tadaya Tsuyukubo * @version $Id: $Id */ @Target(ElementType.PACKAGE) @Retention(RetentionPolicy.RUNTIME) @Documented @Nonnull @TypeQualifierDefault({ElementType.METHOD, ElementType.PARAMETER}) public @interface NonNullApi { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy