public static class TypePool.Default.AnnotationRegistrant.ForByteCodeElement extends TypePool.Default.AnnotationRegistrant.AbstractBase
Modifier and Type | Class and Description |
---|---|
static class |
TypePool.Default.AnnotationRegistrant.ForByteCodeElement.WithIndex
An annotation collector for a byte code element with an index.
|
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement
Modifier and Type | Field and Description |
---|---|
private java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
annotationTokens
The target collection.
|
Modifier | Constructor and Description |
---|---|
protected |
ForByteCodeElement(java.lang.String descriptor,
java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new annotation collector for a byte code element.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
getTokens()
Returns the token list for this collector.
|
onComplete, register
private final java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens
protected ForByteCodeElement(java.lang.String descriptor, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
descriptor
- The annotation descriptor.annotationTokens
- The target collection.protected java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> getTokens()
TypePool.Default.AnnotationRegistrant.AbstractBase
getTokens
in class TypePool.Default.AnnotationRegistrant.AbstractBase