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
Modifier and TypeMethodDescriptiontoGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens) Transforms this token into a generic type representation.
-
Method Details
-
toGenericType
TypeDescription.Generic toGenericType(TypePool typePool, TypeVariableSource typeVariableSource, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, Map<Integer, Map<String, 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.
-