Class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.AbstractBase<TypeDescription, Class<?>>
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue<TypeDescription, Class<?>>
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue
- All Implemented Interfaces:
AnnotationValue<TypeDescription, Class<?>>
- Enclosing class:
TypePool.Default.LazyTypeDescription.LazyAnnotationValue<U,V>
private static class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue
extends TypePool.Default.LazyTypeDescription.LazyAnnotationValue<TypeDescription, Class<?>>
A lazy annotation value description for a type value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AnnotationValue
AnnotationValue.AbstractBase<U,V>, AnnotationValue.ForAnnotationDescription<U>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U, V>, AnnotationValue.ForEnumerationDescription<U>, AnnotationValue.ForIncompatibleType<U, V>, AnnotationValue.ForMissingType<U, V>, AnnotationValue.ForMissingValue<U, V>, AnnotationValue.ForTypeDescription<U>, AnnotationValue.Loaded<U>, AnnotationValue.RenderingDispatcher, AnnotationValue.Sort, AnnotationValue.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe type's binary name.private final TypePoolThe type pool to query for the type.Fields inherited from interface AnnotationValue
UNDEFINED -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateForTypeValue(TypePool typePool, String typeName) Creates a new lazy description of an annotation type constant. -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotationValue<TypeDescription, Class<?>> Resolves the actual annotation value.getSort()Returns the property type of the annotation value.Methods inherited from class TypePool.Default.LazyTypeDescription.LazyAnnotationValue
equals, filter, getState, hashCode, load, resolve, toStringMethods inherited from class AnnotationValue.AbstractBase
filter, resolve
-
Field Details
-
typePool
The type pool to query for the type. -
typeName
The type's binary name.
-
-
Constructor Details
-
ForTypeValue
-
-
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.LazyAnnotationValueResolves the actual annotation value.- Specified by:
doResolvein classTypePool.Default.LazyTypeDescription.LazyAnnotationValue<TypeDescription, Class<?>>- Returns:
- The actual annotation value.
-