| Modifier and Type | Method and Description |
|---|---|
ResolvedConstructorDeclaration |
ConstructorDeclaration.resolve() |
ResolvedConstructorDeclaration |
CompactConstructorDeclaration.resolve() |
| Modifier and Type | Method and Description |
|---|---|
ResolvedConstructorDeclaration |
ObjectCreationExpr.resolve()
Attempts to resolve the declaration corresponding to the invoked constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ResolvedConstructorDeclaration |
ExplicitConstructorInvocationStmt.resolve()
Attempts to resolve the declaration corresponding to the invoked constructor.
|
| Modifier and Type | Method and Description |
|---|---|
default SymbolReference<ResolvedConstructorDeclaration> |
Context.solveConstructor(List<ResolvedType> argumentsTypes)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedConstructorDeclaration> |
ResolvedReferenceTypeDeclaration.getConstructors() |
List<ResolvedConstructorDeclaration> |
ResolvedClassDeclaration.getConstructors()
List of constructors available for the class.
|
| 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) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConstructorResolutionLogic.isApplicable(ResolvedConstructorDeclaration constructor,
List<ResolvedType> argumentsTypes,
TypeSolver 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) |
Copyright © 2007–2023. All rights reserved.