
com.wavefront.sdk.common.annotation.NonNullApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wavefront-sdk-java Show documentation
Show all versions of wavefront-sdk-java Show documentation
Core library for sending telemetry data to Wavefront from Java applications.
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