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

com.signalfx.shaded.javax.annotation.CheckReturnValue Maven / Gradle / Ivy

There is a newer version: 1.0.41
Show newest version
package com.signalfx.shaded.javax.annotation;

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;

import com.signalfx.shaded.javax.annotation.meta.When;

/**
 * This annotation is used to denote a method whose return value should always
 * be checked after invoking the method.
 */
@Documented
@Target( { ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE,
        ElementType.PACKAGE })
@Retention(RetentionPolicy.RUNTIME)
public @interface CheckReturnValue {
    When when() default When.ALWAYS;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy