public static class TypePool.Default.AnnotationRegistrant.ForByteCodeElement.WithIndex extends TypePool.Default.AnnotationRegistrant.AbstractBase
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariableTypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement| Modifier | Constructor and Description |
|---|---|
protected |
WithIndex(String descriptor,
int index,
Map<Integer,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Creates a new annotation collector for a byte code element with an index.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
getTokens()
Returns the token list for this collector.
|
onComplete, registerprotected WithIndex(String descriptor, int index, Map<Integer,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
descriptor - The annotation descriptor.index - The byte code element's index.annotationTokens - The target collection.protected List<TypePool.Default.LazyTypeDescription.AnnotationToken> getTokens()
TypePool.Default.AnnotationRegistrant.AbstractBasegetTokens in class TypePool.Default.AnnotationRegistrant.AbstractBaseCopyright © 2014–2019. All rights reserved.