Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
- All Known Subinterfaces:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
- Enclosing interface:
- TypePool.Default.LazyTypeDescription.GenericTypeToken
public static interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
A resolution of a type's, method's or field's generic types.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A resolution of the generic type of aFieldDescription
.static interface
A resolution of the generic types of aMethodDescription
.static interface
A resolution of the generic type of aRecordComponentDescription
.static interface
A resolution of the generic types of aTypeDescription
.static enum
A resolution of a type's, method's or field's generic types if its generic signature is malformed.static enum
A resolution of a type's, method's or field's generic types if all of the represented element's are raw. -
Method Summary
Modifier and TypeMethodDescriptionresolveTypeVariables
(TypePool typePool, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Resolves the type variables of the represented element.
-
Method Details
-
resolveTypeVariables
TypeList.Generic resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Resolves the type variables of the represented element.- Parameters:
typePool
- The type pool to be used for locating non-generic type descriptions.typeVariableSource
- The type variable source to use for resolving type variables.annotationTokens
- A mapping of the type variables' type annotation tokens by their indices.boundAnnotationTokens
- A mapping of the type variables' bounds' type annotation tokens by their indices and each type variable's index.- Returns:
- A list describing the resolved generic types.
-