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 ClassesModifier and TypeClassDescriptionstatic class
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
FieldsModifier and TypeFieldDescriptionprivate final Map
<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> The target collection. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ForTypeVariable
(String descriptor, org.objectweb.asm.TypePath typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> pathMap) Creates a new annotation collector. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
pathMap
The target collection.
-
-
Constructor Details
-
ForTypeVariable
protected ForTypeVariable(String descriptor, @MaybeNull org.objectweb.asm.TypePath typePath, Map<String, 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 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.
-