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 Classes Modifier and Type Interface Description static interface
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
A resolution of the generic type of aFieldDescription
.static interface
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
A resolution of the generic types of aMethodDescription
.static interface
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
A resolution of the generic type of aRecordComponentDescription
.static interface
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
A resolution of the generic types of aTypeDescription
.static class
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed
A resolution of a type's, method's or field's generic types if its generic signature is malformed.static class
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
A 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.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.
-
-
-
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.
-
-