Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable
-
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal
- Enclosing interface:
- TypePool.Default.LazyTypeDescription.GenericTypeToken
public static interface TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable
Represents a generic type token for a formal type variable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeDescription.Generic
toGenericType(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
-
-
-
Method Detail
-
toGenericType
TypeDescription.Generic toGenericType(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.- Parameters:
typePool
- The type pool to be used for locating non-generic type descriptions.typeVariableSource
- The type variable source.annotationTokens
- A mapping of the type variables' type annotations.boundaryAnnotationTokens
- A mapping of the type variables' bounds' type annotation by their bound index.- Returns:
- A generic type representation of this formal type variable.
-
-