public class MethodCallExprContext extends AbstractJavaParserContext<com.github.javaparser.ast.expr.MethodCallExpr>
typeSolver, wrappedNode| Constructor and Description |
|---|
MethodCallExprContext(com.github.javaparser.ast.expr.MethodCallExpr wrappedNode,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<com.github.javaparser.symbolsolver.model.typesystem.Type> |
solveGenericType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> |
solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
boolean staticOnly,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> |
solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
Similar to solveMethod but we return a MethodUsage.
|
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.symbolsolver.model.declarations.ValueDeclaration> |
solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
java.util.Optional<com.github.javaparser.symbolsolver.model.resolution.Value> |
solveSymbolAsValue(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
java.lang.String |
toString() |
equals, getParent, hashCode, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitsolveConstructor, solveTypepublic MethodCallExprContext(com.github.javaparser.ast.expr.MethodCallExpr wrappedNode,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.util.Optional<com.github.javaparser.symbolsolver.model.typesystem.Type> solveGenericType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<com.github.javaparser.ast.expr.MethodCallExpr>public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
Contextpublic com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.symbolsolver.model.declarations.ValueDeclaration> solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.util.Optional<com.github.javaparser.symbolsolver.model.resolution.Value> solveSymbolAsValue(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
boolean staticOnly,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
Context