public class CompilationUnitContext extends AbstractJavaParserContext<CompilationUnit>
typeSolver, wrappedNode| Constructor and Description | 
|---|
| CompilationUnitContext(CompilationUnit wrappedNode,
                      TypeSolver typeSolver) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ResolvedFieldDeclaration> | fieldsExposedToChild(Node child)The fields that are declared and in this immediate context 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) | 
| SymbolReference<ResolvedTypeDeclaration> | solveType(String name) | 
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsage, solveSymbolAsValuepublic CompilationUnitContext(CompilationUnit wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedTypeDeclaration> solveType(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Contextpublic List<ResolvedFieldDeclaration> fieldsExposedToChild(Node child)
ContextCopyright © 2007–2020. All rights reserved.