public class MethodCallExprContext extends ExpressionContext<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) |
Optional<MethodUsage> |
solveMethodAsUsage(String name,
List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.
|
String |
toString() |
solveSymbol, solveSymbolAsValueequals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildrenclone, finalize, getClass, notify, notifyAll, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChildpublic MethodCallExprContext(MethodCallExpr wrappedNode, TypeSolver typeSolver)
public Optional<ResolvedType> solveGenericType(String name)
public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes)
AbstractJavaParserContextsolveMethodAsUsage in interface ContextsolveMethodAsUsage in class AbstractJavaParserContext<MethodCallExpr>public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Copyright © 2007–2024. All rights reserved.