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 Classes Modifier and Type Class Description protected static classTypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndexA 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 Modifier and Type Field Description private java.lang.StringtypePathThe type variable's type path.
-
Constructor Summary
Constructors Modifier Constructor Description protectedForTypeVariable(java.lang.String descriptor, org.objectweb.asm.TypePath typePath)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.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>getPathMap()Returns this collector's path map.protected java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>getTokens()Returns the token list for this collector.-
Methods inherited from class net.bytebuddy.pool.TypePool.Default.AnnotationRegistrant.AbstractBase
onComplete, register
-
-
-
-
Constructor Detail
-
ForTypeVariable
protected ForTypeVariable(java.lang.String descriptor, @MaybeNull org.objectweb.asm.TypePath typePath)Creates a new annotation collector.- Parameters:
descriptor- The annotation descriptor.typePath- The type variable's type path.
-
-
Method Detail
-
getTokens
protected java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> getTokens()
Description copied from class:TypePool.Default.AnnotationRegistrant.AbstractBaseReturns the token list for this collector.- Specified by:
getTokensin classTypePool.Default.AnnotationRegistrant.AbstractBase- Returns:
- The token list for this collector.
-
getPathMap
protected abstract java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> getPathMap()
Returns this collector's path map.- Returns:
- This collector's path map.
-
-