use of com.github.javaparser.printer.configuration.PrinterConfiguration in project drools by kiegroup.
the class PrintUtil method printNode.
public static String printNode(Node node) {
PrinterConfiguration prettyPrinterConfiguration = new DefaultPrinterConfiguration();
ConstraintPrintVisitor constraintPrintVisitor = new ConstraintPrintVisitor(prettyPrinterConfiguration);
node.accept(constraintPrintVisitor, null);
return constraintPrintVisitor.toString();
}
Aggregations