private class ChainCalls.GatherCallSites extends NodeTraversal.AbstractPostOrderCallback
| Modifier | Constructor and Description |
|---|---|
private |
GatherCallSites() |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(NodeTraversal t,
Node n,
Node parent)
If the function call returns this and the next statement has the same
target expression, record the call site.
|
shouldTraversepublic void visit(NodeTraversal t, Node n, Node parent)