Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.AbstractBase<U,V>
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue<AnnotationDescription,Annotation>
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue
- All Implemented Interfaces:
AnnotationValue<AnnotationDescription,
Annotation>
- Enclosing class:
- TypePool.Default.LazyTypeDescription.LazyAnnotationValue<U,
V>
private static class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue
extends TypePool.Default.LazyTypeDescription.LazyAnnotationValue<AnnotationDescription,Annotation>
A lazy annotation value description for an annotation value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationValue
AnnotationValue.AbstractBase<U,
V>, AnnotationValue.ForAnnotationDescription<U extends Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U, V>, AnnotationValue.ForEnumerationDescription<U extends Enum<U>>, AnnotationValue.ForIncompatibleType<U, V>, AnnotationValue.ForMissingType<U, V>, AnnotationValue.ForMissingValue<U, V>, AnnotationValue.ForTypeDescription<U extends Class<U>>, AnnotationValue.Loaded<U>, AnnotationValue.RenderingDispatcher, AnnotationValue.Sort, AnnotationValue.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypePool.Default.LazyTypeDescription.AnnotationToken
The annotation token.private final TypePool
The type pool to use for resolving the annotation type.Fields inherited from interface net.bytebuddy.description.annotation.AnnotationValue
UNDEFINED
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ForAnnotationValue
(TypePool typePool, TypePool.Default.LazyTypeDescription.AnnotationToken annotationToken) Creates a new lazy annotation value. -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotationValue<AnnotationDescription,
Annotation> Resolves the actual annotation value.getSort()
Returns the property type of the annotation value.Methods inherited from class net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue
equals, filter, getState, hashCode, load, resolve, toString
Methods inherited from class net.bytebuddy.description.annotation.AnnotationValue.AbstractBase
filter, resolve
-
Field Details
-
typePool
The type pool to use for resolving the annotation type. -
annotationToken
The annotation token.
-
-
Constructor Details
-
ForAnnotationValue
private ForAnnotationValue(TypePool typePool, TypePool.Default.LazyTypeDescription.AnnotationToken annotationToken) Creates a new lazy annotation value.- Parameters:
typePool
- The type pool to use for resolving the annotation type.annotationToken
- The annotation token.
-
-
Method Details
-
getSort
Returns the property type of the annotation value.- Returns:
- The property type of the annotation value.
-
doResolve
Description copied from class:TypePool.Default.LazyTypeDescription.LazyAnnotationValue
Resolves the actual annotation value.- Specified by:
doResolve
in classTypePool.Default.LazyTypeDescription.LazyAnnotationValue<AnnotationDescription,
Annotation> - Returns:
- The actual annotation value.
-