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 Classes Modifier and Type Class Description static class
TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex.DoubleIndexed
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
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>
indexedPathMap
The target collection.
-
Constructor Summary
Constructors Modifier Constructor Description protected
WithIndex(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> indexedPathMap)
Creates a new annotation collector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>
getIndexedPathMap()
Returns 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 Detail
-
indexedPathMap
private final java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> indexedPathMap
The target collection.
-
-
Constructor Detail
-
WithIndex
protected WithIndex(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.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 Detail
-
getIndexedPathMap
protected java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> getIndexedPathMap()
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.
-
-