public class MethodCallExprContext extends AbstractJavaParserContext<MethodCallExpr>
typeSolver, wrappedNode
Constructor and Description |
---|
MethodCallExprContext(MethodCallExpr wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
Optional<ResolvedType> |
solveGenericType(String name) |
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
Optional<MethodUsage> |
solveMethodAsUsage(String name,
List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.
|
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
Optional<Value> |
solveSymbolAsValue(String name) |
String |
toString() |
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveWith, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveType
public MethodCallExprContext(MethodCallExpr wrappedNode, TypeSolver typeSolver)
public Optional<ResolvedType> solveGenericType(String name)
solveGenericType
in interface Context
solveGenericType
in class AbstractJavaParserContext<MethodCallExpr>
public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes)
Context
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Context
Copyright © 2007–2020. All rights reserved.