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