Class ASTTreeItem

    • Method Detail

      • findItem

        public ASTTreeItem findItem​(net.sourceforge.pmd.lang.ast.Node node)
        Finds the tree item corresponding to the given node among the descendants of this item. This method assumes this item is the root node.
        Parameters:
        node - The node to find
        Returns:
        The found item, or null if this item doesn't wrap the root of the tree to which the parameter belongs
      • setStyleClasses

        public void setStyleClasses​(String... classes)
      • foreach

        public static <T,​N extends javafx.scene.control.TreeItem<T>> void foreach​(N root,
                                                                                        Consumer<? super N> fun)