public class ConstructorResolutionLogic extends Object
Constructor and Description |
---|
ConstructorResolutionLogic() |
Modifier and Type | Method and 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 boolean |
isApplicable(ResolvedConstructorDeclaration constructor,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
public static boolean isApplicable(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
public static SymbolReference<ResolvedConstructorDeclaration> findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<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<ResolvedConstructorDeclaration> findMostApplicable(List<ResolvedConstructorDeclaration> constructors, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance)
Copyright © 2007–2024. All rights reserved.