Package net.bytebuddy.pool
Class TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
java.lang.Object
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
- All Implemented Interfaces:
TypePool.Default.AnnotationRegistrant
- Direct Known Subclasses:
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex
,TypePool.Default.AnnotationRegistrant.ForTypeVariable
- Enclosing class:
TypePool.Default.AnnotationRegistrant.AbstractBase
protected abstract static class TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
extends TypePool.Default.AnnotationRegistrant.AbstractBase
A base implementation for a collector for a type variable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
A base implementation for a 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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ForTypeVariable
(String descriptor, org.objectweb.asm.TypePath typePath) Creates a new annotation collector. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Map
<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> Returns this collector's path map.Returns the token list for this collector.Methods inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
onComplete, register
-
Field Details
-
typePath
The type variable's type path.
-
-
Constructor Details
-
ForTypeVariable
Creates a new annotation collector.- Parameters:
descriptor
- The annotation descriptor.typePath
- The type variable's type path.
-
-
Method Details
-
getTokens
Description copied from class:TypePool.Default.AnnotationRegistrant.AbstractBase
Returns the token list for this collector.- Specified by:
getTokens
in classTypePool.Default.AnnotationRegistrant.AbstractBase
- Returns:
- The token list for this collector.
-
getPathMap
protected abstract Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> getPathMap()Returns this collector's path map.- Returns:
- This collector's path map.
-