Remove dump façade
This commit is contained in:
@@ -4,17 +4,12 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.vm;
|
||||
|
||||
import java.io.Writer;
|
||||
|
||||
import net.sourceforge.pmd.lang.AbstractPmdLanguageVersionHandler;
|
||||
import net.sourceforge.pmd.lang.Parser;
|
||||
import net.sourceforge.pmd.lang.ParserOptions;
|
||||
import net.sourceforge.pmd.lang.VisitorStarter;
|
||||
import net.sourceforge.pmd.lang.XPathHandler;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.ast.xpath.DefaultASTXPathHandler;
|
||||
import net.sourceforge.pmd.lang.rule.RuleViolationFactory;
|
||||
import net.sourceforge.pmd.lang.vm.ast.AbstractVmNode;
|
||||
import net.sourceforge.pmd.lang.vm.rule.VmRuleViolationFactory;
|
||||
|
||||
/**
|
||||
@@ -38,13 +33,4 @@ public class VmHandler extends AbstractPmdLanguageVersionHandler {
|
||||
return new VmParser(parserOptions);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VisitorStarter getDumpFacade(final Writer writer, final String prefix, final boolean recurse) {
|
||||
return new VisitorStarter() {
|
||||
@Override
|
||||
public void start(final Node rootNode) {
|
||||
((AbstractVmNode) rootNode).dump(prefix, recurse, writer);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user