Class AnonymousClassDeclarationContext
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<com.github.javaparser.ast.expr.ObjectCreationExpr>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AnonymousClassDeclarationContext
- All Implemented Interfaces:
com.github.javaparser.resolution.Context
public class AnonymousClassDeclarationContext
extends AbstractJavaParserContext<com.github.javaparser.ast.expr.ObjectCreationExpr>
A symbol resolution context for an object creation node.
-
Field Summary
Fields inherited from class AbstractJavaParserContext
typeSolver, wrappedNode -
Constructor Summary
ConstructorsConstructorDescriptionAnonymousClassDeclarationContext(com.github.javaparser.ast.expr.ObjectCreationExpr node, com.github.javaparser.resolution.TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly) com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name) com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> Methods inherited from class AbstractJavaParserContext
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildrenMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
-
Constructor Details
-
AnonymousClassDeclarationContext
public AnonymousClassDeclarationContext(com.github.javaparser.ast.expr.ObjectCreationExpr node, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
Method Details
-
solveMethod
-
solveType
-
solveSymbol
public com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name)
-