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 | Constructor and Description |
---|---|
protected |
ForByteCodeElement(String descriptor,
List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new annotation collector for a byte code element.
|
Modifier and Type | Method and Description |
---|---|
protected List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
getTokens()
Returns the token list for this collector.
|
onComplete, register
protected ForByteCodeElement(String descriptor, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
descriptor
- The annotation descriptor.annotationTokens
- The target collection.protected List<TypePool.Default.LazyTypeDescription.AnnotationToken> getTokens()
TypePool.Default.AnnotationRegistrant.AbstractBase
getTokens
in class TypePool.Default.AnnotationRegistrant.AbstractBase
Copyright © 2014–2020. All rights reserved.