Modifier and Type | Method and Description |
---|---|
Optional<MethodUsage> |
Context.solveMethodAsUsage(String name,
List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.
|
Optional<MethodUsage> |
Context.solveMethodAsUsage(String name,
List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.
|
Modifier and Type | Method and Description |
---|---|
Set<MethodUsage> |
ResolvedReferenceTypeDeclaration.getAllMethods()
Return a list of all the methods declared of this type declaration, either declared or inherited.
|
Set<MethodUsage> |
ResolvedReferenceTypeDeclaration.getAllMethods()
Return a list of all the methods declared of this type declaration, either declared or inherited.
|
Modifier and Type | Method and Description |
---|---|
static Optional<MethodUsage> |
MethodResolutionLogic.findMostApplicableUsage(List<MethodUsage> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static Optional<MethodUsage> |
MethodResolutionLogic.findMostApplicableUsage(List<MethodUsage> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static Optional<MethodUsage> |
FunctionalInterfaceLogic.getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.
|
static Optional<MethodUsage> |
FunctionalInterfaceLogic.getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.
|
static Optional<MethodUsage> |
FunctionalInterfaceLogic.getFunctionalMethod(ResolvedType type)
Get the functional method defined by the type, if any.
|
static Optional<MethodUsage> |
FunctionalInterfaceLogic.getFunctionalMethod(ResolvedType type)
Get the functional method defined by the type, if any.
|
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
static Optional<MethodUsage> |
MethodResolutionLogic.findMostApplicableUsage(List<MethodUsage> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
static Optional<MethodUsage> |
MethodResolutionLogic.findMostApplicableUsage(List<MethodUsage> methods,
String name,
List<ResolvedType> argumentsTypes,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
Set<MethodUsage> |
ReferenceTypeImpl.getDeclaredMethods() |
Set<MethodUsage> |
ReferenceTypeImpl.getDeclaredMethods() |
Modifier and Type | Method and Description |
---|---|
abstract Set<MethodUsage> |
ResolvedReferenceType.getDeclaredMethods()
Methods declared on this type.
|
abstract Set<MethodUsage> |
ResolvedReferenceType.getDeclaredMethods()
Methods declared on this type.
|
Copyright © 2007–2022. All rights reserved.