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, solveWithAsValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveTypepublic MethodCallExprContext(MethodCallExpr wrappedNode, TypeSolver typeSolver)
public Optional<ResolvedType> solveGenericType(String name)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<MethodCallExpr>public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes)
Contextpublic SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
ContextCopyright © 2007–2020. All rights reserved.