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 aMethodDescription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.TokenizedAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeList.GenericresolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)Resolves the generic parameter types of the represented method.TypeList.GenericresolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)Resolves the generic parameter types of the represented method.TypeDescription.GenericresolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.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 Detail
-
resolveReturnType
TypeDescription.Generic resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.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(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.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(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.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.
-
-