Class NodeTraversal.AbstractShallowCallback

  • All Implemented Interfaces:
    NodeTraversal.Callback
    Enclosing class:
    NodeTraversal

    public abstract static class NodeTraversal.AbstractShallowCallback
    extends java.lang.Object
    implements NodeTraversal.Callback
    Abstract callback to visit all nodes but not traverse into function bodies.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldTraverse​(NodeTraversal nodeTraversal, Node n, Node parent)
      Visits a node in preorder (before its children) and decides whether the node and its children should be traversed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait