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.ResolutionA resolution of a type's, method's or field's generic types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForFieldA resolution of the generic type of aFieldDescription.static interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethodA resolution of the generic types of aMethodDescription.static interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponentA resolution of the generic type of aRecordComponentDescription.static interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForTypeA resolution of the generic types of aTypeDescription.static classTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.MalformedA resolution of a type's, method's or field's generic types if its generic signature is malformed.static classTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.RawA resolution of a type's, method's or field's generic types if all of the represented element's are raw.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeList.GenericresolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.Integer,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.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)Resolves the type variables of the represented element.
-
-
-
Method Detail
-
resolveTypeVariables
TypeList.Generic resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.Integer,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.Integer,java.util.Map<java.lang.String,java.util.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.
-
-