public class TryWithResourceContext extends AbstractJavaParserContext<com.github.javaparser.ast.stmt.TryStmt>
typeSolver, wrappedNode
Constructor and Description |
---|
TryWithResourceContext(com.github.javaparser.ast.stmt.TryStmt wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
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.
|
SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver) |
Optional<Value> |
solveSymbolAsValue(String name,
TypeSolver typeSolver) |
equals, findTypeDeclarations, getParent, hashCode, solveGenericType, solveWith, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
solveConstructor, solveMethodAsUsage, solveType
public TryWithResourceContext(com.github.javaparser.ast.stmt.TryStmt wrappedNode, TypeSolver typeSolver)
public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver)
public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(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)
Context
Copyright © 2007–2018. All rights reserved.