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