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<Type> |
solveGenericType(String name,
TypeSolver typeSolver) |
SymbolReference<MethodDeclaration> |
solveMethod(String name,
List<Type> argumentsTypes,
TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
Optional<MethodUsage> |
solveMethodAsUsage(String name,
List<Type> argumentsTypes,
TypeSolver typeSolver)
Similar to solveMethod but we return a MethodUsage.
|
SymbolReference<? extends ValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver) |
Optional<Value> |
solveSymbolAsValue(String name,
TypeSolver typeSolver) |
String |
toString() |
equals, getParent, hashCode, solveWith, solveWithAsValue
public MethodCallExprContext(com.github.javaparser.ast.expr.MethodCallExpr wrappedNode, TypeSolver typeSolver)
public Optional<Type> solveGenericType(String name, TypeSolver typeSolver)
solveGenericType
in interface Context
solveGenericType
in class AbstractJavaParserContext<com.github.javaparser.ast.expr.MethodCallExpr>
public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> argumentsTypes, TypeSolver typeSolver)
Context
public SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver)
public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> argumentsTypes, TypeSolver typeSolver)
Context
Copyright © 2016. All rights reserved.