Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue
java.lang.Object
net.bytebuddy.description.annotation.AnnotationValue.AbstractBase<U,V>
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 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 String
The type's binary name.private final TypePool
The type pool to query for the type.Fields inherited from interface net.bytebuddy.description.annotation.AnnotationValue
UNDEFINED
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ForTypeValue
(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 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 query for the type. -
typeName
The type's binary name.
-
-
Constructor Details
-
ForTypeValue
Creates a new lazy description of an annotation type constant.- Parameters:
typePool
- The type pool to query for the type.typeName
- The type's binary name.
-
-
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<TypeDescription,
Class<?>> - Returns:
- The actual annotation value.
-