public class ConstructorResolutionLogic
extends java.lang.Object
Constructor and Description |
---|
ConstructorResolutionLogic() |
Modifier and Type | Method and Description |
---|---|
static com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> |
findMostApplicable(java.util.List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> constructors,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
static com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> |
findMostApplicable(java.util.List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> constructors,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver,
boolean wildcardTolerance) |
static boolean |
isApplicable(com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration constructor,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
public static boolean isApplicable(com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration constructor, java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public static com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> findMostApplicable(java.util.List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> constructors, java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
constructors
- we expect the methods to be ordered such that inherited methods are later in the listargumentsTypes
- typeSolver
- public static com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> findMostApplicable(java.util.List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> constructors, java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver, boolean wildcardTolerance)