Closed nimakarimipour closed 1 year ago
This PR updates the method below:
Modification visit(NodeWithAnnotations<?> node, Range range)
To
<T extends NodeWithAnnotations<?> & NodeWithRange<?>> Modification visit(T node)
Since the value for range is retrievable from the class implementing NodeWithAnnotations, all calls to this method were as below:
range
NodeWithAnnotations
visit(node, node.getRange)
With this update, all calls are changed to simply:
visit(node)
Fancy :-)
@msridhar Thank you very much for the review, landed it. 🙂.
This PR updates the method below:
To
Since the value for
range
is retrievable from the class implementingNodeWithAnnotations
, all calls to this method were as below:With this update, all calls are changed to simply: