public static enum Annotation.Source extends java.lang.Enum<Annotation.Source>
Enum Constant and Description |
---|
CLONED
The annotation is an inherited annotation
with a local copy of the values at the
time the copy was made.
|
INHERITED
The annotation is an inherited annotation
without a local copy of the values.
|
PRIMARY
The annotation is a primary annotation.
|
Modifier and Type | Method and Description |
---|---|
static Annotation.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Annotation.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation.Source PRIMARY
public static final Annotation.Source INHERITED
public static final Annotation.Source CLONED
public static Annotation.Source[] values()
for (Annotation.Source c : Annotation.Source.values()) System.out.println(c);
public static Annotation.Source 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