@HashCodeAndEqualsPlugin.Enhance protected static class TypePool.Default.LazyTypeDescription.AnnotationToken extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution
A resolution for an annotation tokens.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
descriptor
The descriptor of the represented annotation.
|
private java.util.Map<java.lang.String,AnnotationValue<?,?>> |
values
A map of annotation value names to their value representations.
|
Modifier | Constructor and Description |
---|---|
protected |
AnnotationToken(java.lang.String descriptor,
java.util.Map<java.lang.String,AnnotationValue<?,?>> values)
Creates a new annotation token.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getBinaryName()
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.
|
private TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution |
toAnnotationDescription(TypePool typePool)
Transforms this token into an annotation description.
|
private final java.lang.String descriptor
private final java.util.Map<java.lang.String,AnnotationValue<?,?>> values
protected AnnotationToken(java.lang.String descriptor, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)
descriptor
- The descriptor of the represented annotation.values
- A map of annotation value names to their value representations.protected java.util.Map<java.lang.String,AnnotationValue<?,?>> getValues()
protected java.lang.String getBinaryName()
private TypePool.Default.LazyTypeDescription.AnnotationToken.Resolution toAnnotationDescription(TypePool typePool)
typePool
- The type pool to be used for looking up linked types.