Package net.bytebuddy.pool
Class TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex
java.lang.Object
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex
- All Implemented Interfaces:
TypePool.Default.AnnotationRegistrant
- Enclosing class:
- TypePool.Default.AnnotationRegistrant.ForTypeVariable
public static class TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex
extends TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
An annotation collector for a type variable with an index.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An annotation collector for a type variable with two indices.Nested classes/interfaces inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
Nested classes/interfaces inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe target collection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this collector's indexed path map.Methods inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
getPathMap
Methods inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
getTokens
Methods inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
onComplete, register
-
Field Details
-
Constructor Details
-
WithIndex
protected WithIndex(String descriptor, @MaybeNull org.objectweb.asm.TypePath typePath, int index, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> indexedPathMap) Creates a new annotation collector.- Parameters:
descriptor
- The annotation descriptor.typePath
- The type variable's type path.index
- The target index.indexedPathMap
- The target collection.
-
-
Method Details
-
getIndexedPathMap
protected Map<Integer,Map<String, getIndexedPathMap()List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> Description copied from class:TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
Returns this collector's indexed path map.- Specified by:
getIndexedPathMap
in classTypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
- Returns:
- This collector's indexed path map.
-