public abstract class AbstractJavaParserContext<N extends Node> extends Object implements Context
Modifier and Type | Field and Description |
---|---|
protected TypeSolver |
typeSolver |
protected N |
wrappedNode |
Constructor and Description |
---|
AbstractJavaParserContext(N wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
protected Collection<ResolvedReferenceTypeDeclaration> |
findTypeDeclarations(Optional<Expression> optScope) |
Optional<Context> |
getParent() |
N |
getWrappedNode() |
int |
hashCode() |
Optional<ResolvedType> |
solveGenericType(String name) |
static SymbolReference<ResolvedValueDeclaration> |
solveWith(SymbolDeclarator symbolDeclarator,
String name) |
protected Optional<Value> |
solveWithAsValue(SymbolDeclarator symbolDeclarator,
String name) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethod, solveMethodAsUsage, solveSymbol, solveSymbolAsValue, solveType
protected TypeSolver typeSolver
public AbstractJavaParserContext(N wrappedNode, TypeSolver typeSolver)
public static SymbolReference<ResolvedValueDeclaration> solveWith(SymbolDeclarator symbolDeclarator, String name)
public Optional<ResolvedType> solveGenericType(String name)
solveGenericType
in interface Context
protected Optional<Value> solveWithAsValue(SymbolDeclarator symbolDeclarator, String name)
protected Collection<ResolvedReferenceTypeDeclaration> findTypeDeclarations(Optional<Expression> optScope)
public N getWrappedNode()
Copyright © 2007–2020. All rights reserved.