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 Classes Modifier and Type Class Description protected static class
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex.DoubleIndexed
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 Modifier and Type Field Description private int
index
The type variable's index.
-
Constructor Summary
Constructors Modifier Constructor Description protected
WithIndex(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index)
Creates a new annotation collector.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract 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.protected java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>
getPathMap()
Returns this collector's path map.-
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
-
-
-
-
Method Detail
-
getPathMap
protected java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> 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 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.- Returns:
- This collector's indexed path map.
-
-