Class MethodDeclarationCommonLogic
- java.lang.Object
-
- com.github.javaparser.symbolsolver.declarations.common.MethodDeclarationCommonLogic
-
public class MethodDeclarationCommonLogic extends java.lang.Object- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description MethodDeclarationCommonLogic(com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration methodDeclaration, com.github.javaparser.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.javaparser.resolution.MethodUsageresolveTypeVariables(com.github.javaparser.resolution.Context context, java.util.List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)protected com.github.javaparser.resolution.types.ResolvedTypetoType(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)protected java.util.Optional<com.github.javaparser.resolution.types.ResolvedType>typeParamByName(java.lang.String name, com.github.javaparser.resolution.Context context)
-
-
-
Method Detail
-
resolveTypeVariables
public com.github.javaparser.resolution.MethodUsage resolveTypeVariables(com.github.javaparser.resolution.Context context, java.util.List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)
-
typeParamByName
protected java.util.Optional<com.github.javaparser.resolution.types.ResolvedType> typeParamByName(java.lang.String name, com.github.javaparser.resolution.Context context)
-
toType
protected com.github.javaparser.resolution.types.ResolvedType toType(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)
-
-