Member predicate API :: Node :: getInstance
Gets a node representing an instance of this API component, that is, an object whose constructor is the function represented by this node.
For example, if this node represents a use of some class A
, then there might be a node
representing instances of A
, typically corresponding to expressions new A()
at the
source level.
This predicate may have multiple results when there are multiple constructor calls invoking this API component.
Consider using getAnInstantiation()
if there is a need to distinguish between individual constructor calls.
Node
getInstance
(
)