public static enum AnnotationTarget.Kind extends java.lang.Enum<AnnotationTarget.Kind>
| Enum Constant and Description |
|---|
CLASS
An object of type
ClassInfo |
FIELD
An object of type
FieldInfo |
METHOD
An object of type
MethodInfo |
METHOD_PARAMETER
An object of type
MethodParameterInfo |
TYPE
An object of type
TypeTarget |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationTarget.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationTarget.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationTarget.Kind CLASS
ClassInfopublic static final AnnotationTarget.Kind FIELD
FieldInfopublic static final AnnotationTarget.Kind METHOD
MethodInfopublic static final AnnotationTarget.Kind METHOD_PARAMETER
MethodParameterInfopublic static final AnnotationTarget.Kind TYPE
TypeTargetpublic static AnnotationTarget.Kind[] values()
for (AnnotationTarget.Kind c : AnnotationTarget.Kind.values()) System.out.println(c);
public static AnnotationTarget.Kind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null