Home
last modified time | relevance | path

Searched refs:PrettyPrinterConfiguration (Results 1 – 13 of 13) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrinterConfiguration.java28 import static com.github.javaparser.printer.PrettyPrinterConfiguration.IndentType.SPACES;
37 public class PrettyPrinterConfiguration { class
85 …private Function<PrettyPrinterConfiguration, VoidVisitor<Void>> visitorFactory = PrettyPrintVisito…
120 public PrettyPrinterConfiguration setIndentSize(int indentSize) { in setIndentSize()
135 public PrettyPrinterConfiguration setIndentType(IndentType indentType) { in setIndentType()
150 public PrettyPrinterConfiguration setTabWidth(int tabWidth) { in setTabWidth()
183 public PrettyPrinterConfiguration setPrintComments(boolean printComments) { in setPrintComments()
191 public PrettyPrinterConfiguration setPrintJavadoc(boolean printJavadoc) { in setPrintJavadoc()
196 public PrettyPrinterConfiguration setColumnAlignParameters(boolean columnAlignParameters) { in setColumnAlignParameters()
201 …public PrettyPrinterConfiguration setColumnAlignFirstMethodChain(boolean columnAlignFirstMethodCha… in setColumnAlignFirstMethodChain()
[all …]
DPrettyPrinter.java31 private final PrettyPrinterConfiguration configuration;
34 this(new PrettyPrinterConfiguration()); in PrettyPrinter()
37 public PrettyPrinter(PrettyPrinterConfiguration configuration) { in PrettyPrinter()
DSourcePrinter.java25 import com.github.javaparser.printer.PrettyPrinterConfiguration.IndentType;
50 this(new PrettyPrinterConfiguration()); in SourcePrinter()
53 SourcePrinter(final PrettyPrinterConfiguration configuration) { in SourcePrinter()
DPrettyPrintVisitor.java53 protected final PrettyPrinterConfiguration configuration;
56 public PrettyPrintVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) { in PrettyPrintVisitor()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/
DPrettyPrinterTest.java40 import static com.github.javaparser.printer.PrettyPrinterConfiguration.IndentType.TABS;
41 import static com.github.javaparser.printer.PrettyPrinterConfiguration.IndentType.TABS_WITH_SPACE_A…
97 …PrettyPrinter printer = new PrettyPrinter(new PrettyPrinterConfiguration().setVisitorFactory(TestV… in prettyPrintConfigurable()
110 PrettyPrinterConfiguration config = new PrettyPrinterConfiguration() in prettyColumnAlignParameters_enabled()
133 PrettyPrinterConfiguration config = new PrettyPrinterConfiguration(); in prettyColumnAlignParameters_disabled()
150 PrettyPrinterConfiguration config = new PrettyPrinterConfiguration() in prettyAlignMethodCallChains_enabled()
173 PrettyPrinterConfiguration config = new PrettyPrinterConfiguration(); in prettyAlignMethodCallChains_disabled()
219 …String printed = new PrettyPrinter(new PrettyPrinterConfiguration().setColumnAlignFirstMethodChain… in prettyAlignMethodCallChainsIndentsArgumentsWithBlocksCorrectly()
261 …String printed = new PrettyPrinter(new PrettyPrinterConfiguration().setColumnAlignFirstMethodChain… in noChainsIndentsInIf()
274 …String printed = new PrettyPrinter(new PrettyPrinterConfiguration().setColumnAlignFirstMethodChain… in noChainsIndentsInFor()
[all …]
DPrettyPrintVisitorTest.java146PrettyPrinterConfiguration ignoreJavaDoc = new PrettyPrinterConfiguration().setPrintJavadoc(false); in printClassWithoutJavaDocButWithComment()
168PrettyPrinterConfiguration orderImports = new PrettyPrinterConfiguration().setOrderImports(true); in printImportsOrdered()
DTestVisitor.java7 public TestVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) { in TestVisitor()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/comments/
DCommentTest.java30 import com.github.javaparser.printer.PrettyPrinterConfiguration;
40 …private static final PrettyPrinterConfiguration PRETTY_PRINTER_CONFIG_TWO_INDENT = new PrettyPrint…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java40 import com.github.javaparser.printer.PrettyPrinterConfiguration;
146 …private static PrettyPrinterConfiguration toStringPrettyPrinterConfiguration = new PrettyPrinterCo…
148 …protected static final PrettyPrinterConfiguration prettyPrinterNoCommentsConfiguration = new Prett…
287 public final String toString(PrettyPrinterConfiguration prettyPrinterConfiguration) { in toString()
667 public static PrettyPrinterConfiguration getToStringPrettyPrinterConfiguration() { in getToStringPrettyPrinterConfiguration()
671 …public static void setToStringPrettyPrinterConfiguration(PrettyPrinterConfiguration toStringPretty… in setToStringPrettyPrinterConfiguration()
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java16 import com.github.javaparser.printer.PrettyPrinterConfiguration;
166 …sourceRoot.setPrinter(new PrettyPrinter(new PrettyPrinterConfiguration().setEndOfLineCharacter("\n… in main()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java34 import com.github.javaparser.printer.PrettyPrinterConfiguration;
64 private PrettyPrinter prettyPrinter = new PrettyPrinter(new PrettyPrinterConfiguration());
/external/javaparser/javaparser-core-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java52 protected final PrettyPrinterConfiguration configuration;
55 public PrettyPrintVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) { in PrettyPrintVisitor()
/external/javaparser/javaparser-core-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted50 protected final PrettyPrinterConfiguration configuration;
54 public PrettyPrintVisitor(PrettyPrinterConfiguration prettyPrinterConfiguration) {