|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value={CONSTRUCTOR,METHOD,FIELD,LOCAL_VARIABLE,PARAMETER,TYPE}) public @interface DefaultQualifiers
Specifies the annotations to be included in a type without having to provide
them explicitly.
This annotation permits specifying multiple default qualifiers for more
than one type system. It is necessary because Java forbids multiple
annotations of the same name at a single location.
Example:
@DefaultQualifiers({
@DefaultQualifier("NonNull"),
@DefaultQualifier(value = "Interned", locations = ALL_EXCEPT_LOCALS),
@DefaultQualifier("Tainted")
})
DefaultQualifier
Optional Element Summary | |
---|---|
DefaultQualifier[] |
value
The default qualifier settings |
public abstract DefaultQualifier[] value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |