public static enum TypePool.LazyTypeDescription.AnnotationValue.Loaded.State extends Enum<TypePool.LazyTypeDescription.AnnotationValue.Loaded.State>
TypePool.LazyTypeDescription.AnnotationValue.Loaded annotation property.| Enum Constant and Description |
|---|
NON_DEFINED
A non-defined annotation value describes an annotation property which is missing such that
an
IncompleteAnnotationException would be thrown. |
NON_RESOLVED
A non-resolved annotation value describes an annotation property which does not represent a
valid value but an exceptional state.
|
RESOLVED
A resolved annotation value describes an annotation property with an actual value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDefined()
Returns
true if the related annotation value is defined, i.e. |
boolean |
isResolved()
Returns
true if the related annotation value is resolved, i.e. |
static TypePool.LazyTypeDescription.AnnotationValue.Loaded.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.LazyTypeDescription.AnnotationValue.Loaded.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.LazyTypeDescription.AnnotationValue.Loaded.State NON_DEFINED
IncompleteAnnotationException would be thrown.public static final TypePool.LazyTypeDescription.AnnotationValue.Loaded.State NON_RESOLVED
public static final TypePool.LazyTypeDescription.AnnotationValue.Loaded.State RESOLVED
public static TypePool.LazyTypeDescription.AnnotationValue.Loaded.State[] values()
for (TypePool.LazyTypeDescription.AnnotationValue.Loaded.State c : TypePool.LazyTypeDescription.AnnotationValue.Loaded.State.values()) System.out.println(c);
public static TypePool.LazyTypeDescription.AnnotationValue.Loaded.State 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 boolean isDefined()
true if the related annotation value is defined, i.e. either represents
an actual value or an exceptional state.true if the related annotation value is defined.public boolean isResolved()
true if the related annotation value is resolved, i.e. represents an actual
value.true if the related annotation value is resolved.Copyright © 2014. All rights reserved.