public static enum AnnotationSource.Empty extends java.lang.Enum<AnnotationSource.Empty> implements AnnotationSource
AnnotationSource.Empty, AnnotationSource.Explicit| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
static AnnotationSource.Empty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationSource.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationSource.Empty INSTANCE
public static AnnotationSource.Empty[] values()
for (AnnotationSource.Empty c : AnnotationSource.Empty.values()) System.out.println(c);
public static AnnotationSource.Empty 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 nullpublic AnnotationList getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationSource