Class AbstractJavaParserContext<N extends Node>
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<N>
- All Implemented Interfaces:
Context
- Direct Known Subclasses:
AbstractMethodLikeDeclarationContext,AnnotationDeclarationContext,AnonymousClassDeclarationContext,BinaryExprContext,BlockStmtContext,CatchClauseContext,ClassOrInterfaceDeclarationContext,CompilationUnitContext,EnclosedExprContext,EnumDeclarationContext,FieldAccessContext,ForEachStatementContext,ForStatementContext,InstanceOfExprContext,LambdaExprContext,MethodCallExprContext,MethodReferenceExprContext,ObjectCreationContext,StatementContext,SwitchEntryContext,TryWithResourceContext,UnaryExprContext,VariableDeclarationExprContext,VariableDeclaratorContext
- Author:
- Federico Tomassetti
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected Collection<ResolvedReferenceTypeDeclaration>findTypeDeclarations(Optional<Expression> optScope)protected NodeinthashCode()protected static booleanisQualifiedName(String name)SymbolReference<? extends ResolvedValueDeclaration>solveSymbolInParentContext(String name)solveWith(SymbolDeclarator symbolDeclarator, String name)solveWithAsValue(SymbolDeclarator symbolDeclarator, String name)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.symbolsolver.core.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, negatedPatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, patternExprInScope, patternExprsExposedFromChildren, patternExprsExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethod, solveMethodAsUsage, solveMethodInParentContext, solveSymbol, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext
-
Field Details
-
wrappedNode
-
typeSolver
-
-
Constructor Details
-
AbstractJavaParserContext
-
-
Method Details
-
isQualifiedName
-
solveWith
public static SymbolReference<ResolvedValueDeclaration> solveWith(SymbolDeclarator symbolDeclarator, String name) -
equals
-
hashCode
public int hashCode() -
getParent
-
getScope
-
solveSymbolInParentContext
- Specified by:
solveSymbolInParentContextin interfaceContext
-
solveWithAsValue
-
findTypeDeclarations
protected Collection<ResolvedReferenceTypeDeclaration> findTypeDeclarations(Optional<Expression> optScope) -
getWrappedNode
-