public static enum TypeAnnotations.AnnotationType extends Enum<TypeAnnotations.AnnotationType>
Enum Constant and Description |
---|
BOTH |
DECLARATION |
TYPE |
Modifier and Type | Method and Description |
---|---|
static TypeAnnotations.AnnotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeAnnotations.AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAnnotations.AnnotationType DECLARATION
public static final TypeAnnotations.AnnotationType TYPE
public static final TypeAnnotations.AnnotationType BOTH
public static TypeAnnotations.AnnotationType[] values()
for (TypeAnnotations.AnnotationType c : TypeAnnotations.AnnotationType.values()) System.out.println(c);
public static TypeAnnotations.AnnotationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.