@Documented
@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD,FIELD,LOCAL_VARIABLE,PARAMETER,TYPE})
public @interface DefaultQualifier
DefaultQualifierInHierarchy
.
If you wish to write multiple @DefaultQualifier annotations (for
unrelated type systems, or with different locations
fields) at
the same location, use DefaultQualifiers
.
DefaultLocation
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The name of the default annotation.
|
Modifier and Type | Optional Element and Description |
---|---|
DefaultLocation[] |
locations |
public abstract java.lang.String value
To prevent affecting other type systems, always specify an annotation in your own type hierarchy. (For example, do not set "checkers.quals.Unqualified" as the default.)
public abstract DefaultLocation[] locations