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 |
|---|---|
List<com.github.javaparser.ast.body.VariableDeclarator> |
localVariablesExposedToChild(com.github.javaparser.ast.Node child)
The local variables that are declared in this immediate context and made visible to a given child.
|
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly)
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) |
Optional<Value> |
solveSymbolAsValue(String name) |
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsage, solveTypepublic TryWithResourceContext(com.github.javaparser.ast.stmt.TryStmt wrappedNode,
TypeSolver typeSolver)
public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)
Contextpublic List<com.github.javaparser.ast.body.VariableDeclarator> localVariablesExposedToChild(com.github.javaparser.ast.Node child)
ContextCopyright © 2007–2019. All rights reserved.