public static enum AnnotationTargets_Targets.AnnotationCategory extends java.lang.Enum<AnnotationTargets_Targets.AnnotationCategory>
Enumeration used for the several categories of annotations.
Modifier and Type | Method and Description |
---|---|
static AnnotationTargets_Targets.AnnotationCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationTargets_Targets.AnnotationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationTargets_Targets.AnnotationCategory PACKAGE
public static final AnnotationTargets_Targets.AnnotationCategory CLASS
public static final AnnotationTargets_Targets.AnnotationCategory METHOD
public static final AnnotationTargets_Targets.AnnotationCategory FIELD
public static AnnotationTargets_Targets.AnnotationCategory[] values()
for (AnnotationTargets_Targets.AnnotationCategory c : AnnotationTargets_Targets.AnnotationCategory.values()) System.out.println(c);
public static AnnotationTargets_Targets.AnnotationCategory 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