Package 

Object NodeTreeLikeAdapter

  • All Implemented Interfaces:
    com.github.oowekyala.treeutils.DoublyLinkedTreeLikeAdapter , com.github.oowekyala.treeutils.TreeLikeAdapter

    
    public class NodeTreeLikeAdapter
     implements DoublyLinkedTreeLikeAdapter<Node>
                        

    An adapter for baseShouldMatchSubtree.

    • Method Summary

      Modifier and Type Method Description
      List<Node> getChildren(Node node)
      String nodeName(Class<out Node> type)
      Node getParent(Node node)
      Node getChild(Node node, Integer index)
      • Methods inherited from class com.github.oowekyala.treeutils.DoublyLinkedTreeLikeAdapter

        isLeaf, nodeName, numChildren
      • Methods inherited from class com.github.oowekyala.treeutils.TreeLikeAdapter

        equals, hashCode, toString
      • Methods inherited from class net.sourceforge.pmd.lang.ast.test.NodeTreeLikeAdapter

        getChildIndex
      • Methods inherited from class java.lang.Object

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