Top Description Methods
javax.annotation.meta

public @Interface Exclusive

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .Retention, .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 @Foo(1), then the value cannot be @Foo(2) or {@Foo(3).

@TypeQualifier @interface Foo {
    @Exclusive int value();
}

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString