Class DumpUtil


  • public final class DumpUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String dumpToSubtreeTest​(net.sourceforge.pmd.lang.ast.Node node)
      Dumps the entire subtree of a node to a Kotlin AST matcher.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dumpToSubtreeTest

        public static java.lang.String dumpToSubtreeTest​(net.sourceforge.pmd.lang.ast.Node node)
        Dumps the entire subtree of a node to a Kotlin AST matcher.
        Parameters:
        node - Node to dump
        Returns:
        A string that can be copy pasted into a kotlin test file