public class ObjectCreationContext extends AbstractJavaParserContext<ObjectCreationExpr>
typeSolver, wrappedNode
Constructor and Description |
---|
ObjectCreationContext(ObjectCreationExpr wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
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, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, negatedTypePatternExprsExposedFromChildren, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedFromChildren, typePatternExprsExposedToChild
public ObjectCreationContext(ObjectCreationExpr wrappedNode, TypeSolver typeSolver)
public SymbolReference<ResolvedTypeDeclaration> solveType(String name, List<ResolvedType> typeArguments)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Copyright © 2007–2024. All rights reserved.