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