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) |
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly) |
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
SymbolReference<ResolvedTypeDeclaration> |
solveType(String name,
List<ResolvedType> typeArguments) |
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, isQualifiedName, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, localVariableDeclarationInScope, localVariablesExposedToChild, negatedPatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, patternExprInScope, patternExprsExposedFromChildren, patternExprsExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext
public CompilationUnitContext(CompilationUnit wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedTypeDeclaration> solveType(String name, List<ResolvedType> typeArguments)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
public List<ResolvedFieldDeclaration> fieldsExposedToChild(Node child)
Copyright © 2007–2023. All rights reserved.