public class MethodCallExprContext extends AbstractJavaParserContext<com.github.javaparser.ast.expr.MethodCallExpr>
typeSolver, wrappedNode| Constructor and Description |
|---|
MethodCallExprContext(com.github.javaparser.ast.expr.MethodCallExpr wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
Optional<com.github.javaparser.resolution.types.ResolvedType> |
solveGenericType(String name,
TypeSolver typeSolver) |
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly,
TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
Optional<com.github.javaparser.resolution.MethodUsage> |
solveMethodAsUsage(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
TypeSolver typeSolver)
Similar to solveMethod but we return a MethodUsage.
|
SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver) |
Optional<Value> |
solveSymbolAsValue(String name,
TypeSolver typeSolver) |
String |
toString() |
equals, findTypeDeclarations, getParent, hashCode, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitsolveConstructor, solveTypepublic MethodCallExprContext(com.github.javaparser.ast.expr.MethodCallExpr wrappedNode,
TypeSolver typeSolver)
public Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name, TypeSolver typeSolver)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<com.github.javaparser.ast.expr.MethodCallExpr>public Optional<com.github.javaparser.resolution.MethodUsage> solveMethodAsUsage(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, TypeSolver typeSolver)
Contextpublic SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly, TypeSolver typeSolver)
ContextCopyright © 2007–2018. All rights reserved.