Package javax.annotation.meta
Annotation Type TypeQualifier
-
@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface TypeQualifier
This qualifier is applied to an annotation to denote that the annotation should be treated as a type qualifier.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>
applicableTo
Describes the kinds of values the qualifier can be applied to.
-
-
-
Element Detail
-
applicableTo
java.lang.Class<?> applicableTo
Describes the kinds of values the qualifier can be applied to. If a numeric class is provided (e.g., Number.class or Integer.class) then the annotation can also be applied to the corresponding primitive numeric types.- Returns:
- a class object which denotes the type of the values the original annotation can be applied to.
- Default:
- java.lang.Object.class
-
-