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