public static enum Annotation.AnnotationTargetAllowed extends java.lang.Enum<Annotation.AnnotationTargetAllowed>
| Enum Constant and Description |
|---|
NO |
TYPE_ANNOTATION_ON_QUALIFIED_NAME |
YES |
| Modifier and Type | Method and Description |
|---|---|
static Annotation.AnnotationTargetAllowed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Annotation.AnnotationTargetAllowed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation.AnnotationTargetAllowed YES
public static final Annotation.AnnotationTargetAllowed TYPE_ANNOTATION_ON_QUALIFIED_NAME
public static final Annotation.AnnotationTargetAllowed NO
public static Annotation.AnnotationTargetAllowed[] values()
for (Annotation.AnnotationTargetAllowed c : Annotation.AnnotationTargetAllowed.values()) System.out.println(c);
public static Annotation.AnnotationTargetAllowed 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