T
- The type of the unloaded value of this annotation.S
- The type of the loaded value of this annotation.protected static interface TypePool.LazyTypeDescription.AnnotationValue<T,S>
TypePool.LazyTypeDescription.LazyAnnotationDescription
which
is not yet loaded by a class loader.Modifier and Type | Interface and Description |
---|---|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation
Represents a nested annotation value.
|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray
Represents an array that is referenced by an annotation which does not contain primitive values or
String values. |
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration
Represents an enumeration value of an annotation.
|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForType
Represents a type value of an annotation.
|
static interface |
TypePool.LazyTypeDescription.AnnotationValue.Loaded<U>
A loaded variant of a
TypePool.LazyTypeDescription.AnnotationValue . |
static class |
TypePool.LazyTypeDescription.AnnotationValue.Trivial<U>
Represents a primitive value, a
String or an array of the latter types. |
Modifier and Type | Method and Description |
---|---|
TypePool.LazyTypeDescription.AnnotationValue.Loaded<S> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
T |
resolve(TypePool typePool)
Resolves the unloaded value of this annotation.
|
T resolve(TypePool typePool)
typePool
- The type pool to be used for looking up linked types.TypePool.LazyTypeDescription.AnnotationValue.Loaded<S> load(ClassLoader classLoader) throws ClassNotFoundException
classLoader
- The class loader for loading this value.ClassNotFoundException
- If a type that represents a loaded value cannot be found.Copyright © 2014–2015. All rights reserved.