public static class TypePool.Default.AnnotationRegistrant.ForByteCodeElement.WithIndex extends TypePool.Default.AnnotationRegistrant.AbstractBase
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
TypePool.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, register
protected 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.AbstractBase
getTokens
in class TypePool.Default.AnnotationRegistrant.AbstractBase
Copyright © 2014–2018. All rights reserved.