Class ConstructorResolutionLogic
- java.lang.Object
-
- com.github.javaparser.symbolsolver.resolution.ConstructorResolutionLogic
-
public class ConstructorResolutionLogic extends Object
- Author:
- Fred Lefévère-Laoide
-
-
Constructor Summary
Constructors Constructor Description ConstructorResolutionLogic()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SymbolReference<ResolvedConstructorDeclaration>findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)static SymbolReference<ResolvedConstructorDeclaration>findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance)static booleanisApplicable(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
-
-
-
Method Detail
-
isApplicable
public static boolean isApplicable(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
-
findMostApplicable
public static SymbolReference<ResolvedConstructorDeclaration> findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
- Parameters:
constructors- we expect the methods to be ordered such that inherited methods are later in the listargumentsTypes-typeSolver-- Returns:
-
findMostApplicable
public static SymbolReference<ResolvedConstructorDeclaration> findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance)
-
-