Top Description Methods
javax.annotation.meta

public @Interface TypeQualifier

extends Annotation
Annotations
@Documented
@Target:ANNOTATION_TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

This qualifier is applied to an annotation to denote that the annotation should be treated as a type qualifier.

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

a class object which denotes the type of the values the original annotation can be applied to.
applicableTo
()

Describes the kinds of values the qualifier can be applied to.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

applicableToback to summary
public 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:Class<?>

a class object which denotes the type of the values the original annotation can be applied to.