Package net.bytebuddy.pool
Class TypePool.Default.AnnotationRegistrant.ForTypeVariable
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
-
- net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
-
- net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.ForTypeVariable
-
- All Implemented Interfaces:
TypePool.Default.AnnotationRegistrant
- Enclosing interface:
- TypePool.Default.AnnotationRegistrant
public static class TypePool.Default.AnnotationRegistrant.ForTypeVariable extends TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
An annotation collector for a type variable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex
An annotation collector for a type variable with an index.-
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.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>
pathMap
The target collection.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForTypeVariable(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> pathMap)
Creates a new annotation collector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
pathMap
private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> pathMap
The target collection.
-
-
Constructor Detail
-
ForTypeVariable
protected ForTypeVariable(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> pathMap)
Creates a new annotation collector.- Parameters:
descriptor
- The annotation descriptor.typePath
- The type variable's type path.pathMap
- The target collection.
-
-
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.
-
-