U
- The type of the loaded value of this annotation.public static interface TypePool.LazyTypeDescription.AnnotationValue.Loaded<U>
TypePool.LazyTypeDescription.AnnotationValue
. While
implementations of this value are required to be processed successfully by a
ClassLoader
they might still be unresolved. Typical errors on loading an annotation
value are:
IncompleteAnnotationException
: An annotation does not define a value
even though no default value for a property is provided.EnumConstantNotPresentException
: An annotation defines an unknown value for
a known enumeration.AnnotationTypeMismatchException
: An annotation property is not
of the expected type.Object.hashCode()
and
Object.toString()
that resemble those used for the annotation values of an actual
Annotation
implementation. Also, instances must implement
Object.equals(Object)
to return true
for other instances of
this interface that represent the same annotation value.Modifier and Type | Interface and Description |
---|---|
static class |
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State
Represents the state of a
TypePool.LazyTypeDescription.AnnotationValue.Loaded annotation property. |
Modifier and Type | Method and Description |
---|---|
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
U |
resolve()
Resolves the value to the actual value of an annotation.
|
TypePool.LazyTypeDescription.AnnotationValue.Loaded.State getState()
U resolve()
Copyright © 2014. All rights reserved.