Search in sources :

Example 1 with PrettyPrinterConfiguration

use of org.drools.javaparser.printer.PrettyPrinterConfiguration in project drools by kiegroup.

the class JavaParserCompiler method createPrettyPrinter.

private static PrettyPrinter createPrettyPrinter() {
    PrettyPrinterConfiguration config = new PrettyPrinterConfiguration();
    config.setColumnAlignParameters(true);
    config.setColumnAlignFirstMethodChain(true);
    return new PrettyPrinter(config);
}
Also used : PrettyPrinter(org.drools.javaparser.printer.PrettyPrinter) PrettyPrinterConfiguration(org.drools.javaparser.printer.PrettyPrinterConfiguration)

Aggregations

PrettyPrinter (org.drools.javaparser.printer.PrettyPrinter)1 PrettyPrinterConfiguration (org.drools.javaparser.printer.PrettyPrinterConfiguration)1