public static enum AnnotationValue.State extends Enum<AnnotationValue.State>
AnnotationValue.| Enum Constant and Description | 
|---|
| RESOLVEDA resolved annotation value describes an annotation property with an actual value. | 
| UNDEFINEDAn undefined annotation value describes an annotation property which is missing such that
 an  IncompleteAnnotationExceptionwould be thrown. | 
| UNRESOLVEDAn unresolved annotation value describes an annotation property which does not represent a
 valid value but an exceptional state. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isDefined()Returns  trueif the related annotation value is defined, i.e. | 
| boolean | isResolved()Returns  trueif the related annotation value is resolved, i.e. | 
| static AnnotationValue.State | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AnnotationValue.State[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AnnotationValue.State UNDEFINED
IncompleteAnnotationException would be thrown.public static final AnnotationValue.State UNRESOLVED
public static final AnnotationValue.State RESOLVED
public static AnnotationValue.State[] values()
for (AnnotationValue.State c : AnnotationValue.State.values()) System.out.println(c);
public static AnnotationValue.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–2023. All rights reserved.