public class BlockStmtContext extends AbstractJavaParserContext<BlockStmt>
typeSolver, wrappedNode
Constructor and Description |
---|
BlockStmtContext(BlockStmt wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
List<VariableDeclarator> |
localVariablesExposedToChild(Node child)
The local variables that are declared in this immediate context and made visible to a given child.
|
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name)
Used where a symbol is being used (e.g.
|
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, isQualifiedName, solveSymbolInParentContext, solveWith, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, negatedPatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, patternExprInScope, patternExprsExposedFromChildren, patternExprsExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethod, solveMethodAsUsage, solveMethodInParentContext, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext
public BlockStmtContext(BlockStmt wrappedNode, TypeSolver typeSolver)
public List<VariableDeclarator> localVariablesExposedToChild(Node child)
Context
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
Context
x
when used as an argument doubleThis(x)
, or calculation return x * 2;
).name
- the variable / reference / identifier used.Copyright © 2007–2021. All rights reserved.