public class CatchClauseContext extends AbstractJavaParserContext<CatchClause>
typeSolver, wrappedNode| Constructor and Description |
|---|
CatchClauseContext(CatchClause 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.
|
List<Parameter> |
parametersExposedToChild(Node child)
The parameters that are declared in this immediate context and made visible to a given child.
|
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
SymbolReference<? extends 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, solveConstructor, solveMethodAsUsage, solveTypepublic CatchClauseContext(CatchClause wrappedNode, TypeSolver typeSolver)
public final SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public final SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Contextpublic List<VariableDeclarator> localVariablesExposedToChild(Node child)
ContextCopyright © 2007–2020. All rights reserved.