public enum AnnotationSearchType extends java.lang.Enum<AnnotationSearchType>
| Enum Constant and Description |
|---|
ALL
Consider annotations in super interfaces and classes.
|
INTERFACES
Consider annotations in super interfaces.
|
NONE
Do not consider annotations in super classes or interfaces at all.
|
SUPERCLASSES
Consider annotations in super classes.
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
iface
Stores whether super interfaces should be considered.
|
private boolean |
sclass
Stores whether super classes should be considered.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
considerInterface()
Returns whether super interfaces should be considered.
|
boolean |
considerSuperclass()
Returns whether super classes should be considered.
|
static AnnotationSearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationSearchType NONE
public static final AnnotationSearchType INTERFACES
public static final AnnotationSearchType SUPERCLASSES
public static final AnnotationSearchType ALL
private boolean iface
private boolean sclass
public static AnnotationSearchType[] values()
for (AnnotationSearchType c : AnnotationSearchType.values()) System.out.println(c);
public static AnnotationSearchType 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 boolean considerInterface()
true if they should be considered,
false if notpublic boolean considerSuperclass()
true if they should be considered,
false if not