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,java.lang.annotation.Annotation>
-
- net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue
-
- All Implemented Interfaces:
AnnotationValue<AnnotationDescription,java.lang.annotation.Annotation>
- Enclosing class:
- TypePool.Default.LazyTypeDescription.LazyAnnotationValue<U,V>
private static class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue extends TypePool.Default.LazyTypeDescription.LazyAnnotationValue<AnnotationDescription,java.lang.annotation.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 java.lang.annotation.Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends java.lang.Enum<U>>, AnnotationValue.ForIncompatibleType<U,V>, AnnotationValue.ForMismatchedType<U,V>, AnnotationValue.ForMissingType<U,V>, AnnotationValue.ForMissingValue<U,V>, AnnotationValue.ForTypeDescription<U extends java.lang.Class<U>>, AnnotationValue.Loaded<U>, AnnotationValue.RenderingDispatcher, AnnotationValue.State
-
-
Field Summary
Fields Modifier and Type Field Description private TypePool.Default.LazyTypeDescription.AnnotationToken
annotationToken
The annotation token.private TypePool
typePool
The type pool to use for resolving the annotation type.-
Fields inherited from interface net.bytebuddy.description.annotation.AnnotationValue
UNDEFINED
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ForAnnotationValue(TypePool typePool, TypePool.Default.LazyTypeDescription.AnnotationToken annotationToken)
Creates a new lazy annotation value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnnotationValue<AnnotationDescription,java.lang.annotation.Annotation>
doResolve()
Resolves the actual 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 Detail
-
typePool
private final TypePool typePool
The type pool to use for resolving the annotation type.
-
annotationToken
private final TypePool.Default.LazyTypeDescription.AnnotationToken annotationToken
The annotation token.
-
-
Constructor Detail
-
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 Detail
-
doResolve
@Enhance("resolved") protected AnnotationValue<AnnotationDescription,java.lang.annotation.Annotation> doResolve()
Description copied from class:TypePool.Default.LazyTypeDescription.LazyAnnotationValue
Resolves the actual annotation value.- Specified by:
doResolve
in classTypePool.Default.LazyTypeDescription.LazyAnnotationValue<AnnotationDescription,java.lang.annotation.Annotation>
- Returns:
- The actual annotation value.
-
-