public class CompilationUnitContext extends AbstractJavaParserContext<com.github.javaparser.ast.CompilationUnit>
typeSolver, wrappedNode| Constructor and Description |
|---|
CompilationUnitContext(com.github.javaparser.ast.CompilationUnit wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
fieldsExposedToChild(com.github.javaparser.ast.Node child)
The fields that are declared and in this immediate context made visible to a given child.
|
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly,
TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver) |
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> |
solveType(String name,
TypeSolver typeSolver) |
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsage, solveSymbolAsValuepublic CompilationUnitContext(com.github.javaparser.ast.CompilationUnit wrappedNode,
TypeSolver typeSolver)
public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name, TypeSolver typeSolver)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly, TypeSolver typeSolver)
Contextpublic List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> fieldsExposedToChild(com.github.javaparser.ast.Node child)
ContextCopyright © 2007–2018. All rights reserved.