public static enum AnnotationSource.Empty extends 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(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(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 nullpublic AnnotationList getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotationSource
Copyright © 2014–2020. All rights reserved.