public class TryWithResourceContext extends AbstractJavaParserContext<TryStmt>
typeSolver, wrappedNode| Constructor and Description |
|---|
TryWithResourceContext(TryStmt wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
List<VariableDeclarator> |
localVariablesExposedToChild(Node child) |
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly) |
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
Optional<Value> |
solveSymbolAsValue(String name) |
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, isQualifiedName, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, negatedPatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, patternExprInScope, patternExprsExposedFromChildren, patternExprsExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContextpublic TryWithResourceContext(TryStmt wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
public List<VariableDeclarator> localVariablesExposedToChild(Node child)
Copyright © 2007–2024. All rights reserved.