Exclusive
Keywords: javax.annotation.meta.Exclusive class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## javax.annotation.meta
Annotation Type Exclusive

    @Documented
    @Retention(value=RUNTIME)
    public @interface Exclusive

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). <<<<<<< .mine For example, the following defines a type qualifier such that if you know a value is &#064;Foo(1), then the value cannot be &#064;Foo(2) or {&#064;Foo(3). ======= >>>>>>> .r47 `@TypeQualifier @interface Foo { @Exclusive int value(); }`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT