javax.annotation.meta.Exclusive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gerrit-rest-java-client-shaded Show documentation
Show all versions of gerrit-rest-java-client-shaded Show documentation
gerrit-rest-java-client but shaded
The newest version!
package javax.annotation.meta;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* This annotation can be applied to the value() element of an annotation that
* is annotated as a TypeQualifier.
*
*
* For example, the following defines a type qualifier such that if you know a
* value is {@literal @Foo(1)}, then the value cannot be {@literal @Foo(2)} or {{@literal @Foo(3)}.
*
*
* @TypeQualifier @interface Foo {
* @Exclusive int value();
* }
*
*
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Exclusive {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy