Package | Description |
---|---|
com.github.javaparser.resolution | |
com.github.javaparser.resolution.logic |
Modifier and Type | Method and Description |
---|---|
TypeSolver |
TypeSolver.getParent()
Parent of the this TypeSolver.
|
default TypeSolver |
TypeSolver.getRoot()
Get the root of the hierarchy of type solver.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeSolver.setParent(TypeSolver parent)
Set the parent of this TypeSolver.
|
Modifier and Type | Method and Description |
---|---|
static SymbolReference<ResolvedConstructorDeclaration> |
ConstructorResolutionLogic.findMostApplicable(List<ResolvedConstructorDeclaration> constructors,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static SymbolReference<ResolvedConstructorDeclaration> |
ConstructorResolutionLogic.findMostApplicable(List<ResolvedConstructorDeclaration> constructors,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver,
boolean wildcardTolerance) |
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.findMostApplicable(List<ResolvedMethodDeclaration> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.findMostApplicable(List<ResolvedMethodDeclaration> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver,
boolean wildcardTolerance) |
static Optional<MethodUsage> |
MethodResolutionLogic.findMostApplicableUsage(List<MethodUsage> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static boolean |
MethodResolutionLogic.isApplicable(MethodUsage methodUsage,
String needleName,
List<ResolvedType> needleParameterTypes,
TypeSolver typeSolver)
Note the specific naming here -- parameters are part of the method declaration,
while arguments are the values passed when calling a method.
|
static boolean |
ConstructorResolutionLogic.isApplicable(ResolvedConstructorDeclaration constructor,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static boolean |
MethodResolutionLogic.isApplicable(ResolvedMethodDeclaration method,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static ResolvedType |
MethodResolutionLogic.replaceTypeParam(ResolvedType type,
ResolvedTypeParameterDeclaration tp,
TypeSolver typeSolver) |
Constructor and Description |
---|
InferenceContext(TypeSolver typeSolver) |
InferenceVariableType(int id,
TypeSolver typeSolver) |
Copyright © 2007–2023. All rights reserved.