Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
- All Superinterfaces:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
- Enclosing interface:
- TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
public static interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
extends TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
A resolution of the generic types of a
MethodDescription
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An implementation of a tokenized resolution of generic types of aMethodDescription
.Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
-
Method Summary
Modifier and TypeMethodDescriptionresolveExceptionTypes
(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.resolveParameterTypes
(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.resolveReturnType
(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.Methods inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
resolveTypeVariables
-
Method Details
-
resolveReturnType
TypeDescription.Generic resolveReturnType(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.- Parameters:
returnTypeDescriptor
- The descriptor of the raw return type.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the return type's type annotation tokens.definingMethod
- The method that defines this return type.- Returns:
- A description of this type's generic return type.
-
resolveParameterTypes
TypeList.Generic resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.- Parameters:
parameterTypeDescriptors
- The descriptor of the raw parameter types.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the parameter types' type annotation tokens by their indices.definingMethod
- The method that defines these parameter types.- Returns:
- A description of this type's generic interface types.
-
resolveExceptionTypes
TypeList.Generic resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.- Parameters:
exceptionTypeDescriptors
- The descriptor of the raw exception types.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the exception types' type annotation tokens by their indices.definingMethod
- The method that defines these exception types.- Returns:
- A description of this type's generic interface types.
-