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)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
SymbolReference<ResolvedTypeDeclaration> |
solveType(String name) |
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsage, solveSymbolAsValue
public ObjectCreationContext(ObjectCreationExpr wrappedNode, TypeSolver typeSolver)
public SymbolReference<ResolvedTypeDeclaration> solveType(String name)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Context
Copyright © 2007–2020. All rights reserved.