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, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, negatedTypePatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedFromChildren, typePatternExprsExposedToChild
public 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.