Package net.bytebuddy.pool
Class TypePool.Default.AnnotationRegistrant.AbstractBase.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
- All Implemented Interfaces:
TypePool.Default.AnnotationRegistrant
- Direct Known Subclasses:
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex.DoubleIndexed
,TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex
- Enclosing class:
- TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
protected abstract static class TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
extends TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
A base implementation for a collector for a type variable with an index.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
A base implementation for a 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 -
Constructor Summary
Constructors -
Method Summary
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
-
index
private final int indexThe type variable's index.
-
-
Constructor Details
-
WithIndex
Creates a new annotation collector.- Parameters:
descriptor
- The annotation descriptor.typePath
- The type variable's type path.index
- The type variable's index.
-
-
Method Details
-
getPathMap
Description copied from class:TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
Returns this collector's path map.- Specified by:
getPathMap
in classTypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
- Returns:
- This collector's path map.
-
getIndexedPathMap
protected abstract Map<Integer,Map<String, getIndexedPathMap()List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> Returns this collector's indexed path map.- Returns:
- This collector's indexed path map.
-