Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.AnnotationToken
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.AnnotationToken
-
- Enclosing class:
- TypePool.Default.LazyTypeDescription
protected static class TypePool.Default.LazyTypeDescription.AnnotationToken extends java.lang.ObjectA token for representing collected data on an annotation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceTypePool.Default.LazyTypeDescription.AnnotationToken.ResolutionA resolution for an annotation tokens.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationToken(java.lang.String descriptor, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)Creates a new annotation token.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetBinaryName()Returns the annotation type's binary name.protected java.util.Map<java.lang.String,AnnotationValue<?,?>>getValues()Returns a map of annotation value names to their value representations.
-
-
-
Constructor Detail
-
AnnotationToken
protected AnnotationToken(java.lang.String descriptor, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)Creates a new annotation token.- Parameters:
descriptor- The descriptor of the represented annotation.values- A map of annotation value names to their value representations.
-
-
Method Detail
-
getValues
protected java.util.Map<java.lang.String,AnnotationValue<?,?>> getValues()
Returns a map of annotation value names to their value representations.- Returns:
- A map of annotation value names to their value representations.
-
getBinaryName
protected java.lang.String getBinaryName()
Returns the annotation type's binary name.- Returns:
- The annotation type's binary name.
-
-