Home
last modified time | relevance | path

Searched refs:formatSourceAndFixImports (Results 1 – 3 of 3) sorted by relevance

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DFormatterTest.java261 String output = new Formatter().formatSourceAndFixImports(input); in importsFixedIfRequested()
417 new Formatter().formatSourceAndFixImports("package foo; public class {"); in throwsFormatterException()
447 assertThat(new Formatter().formatSourceAndFixImports(withBlank)).isEqualTo(withoutBlank); in blankLinesImportComment()
449 assertThat(new Formatter().formatSourceAndFixImports(withoutBlank)).isEqualTo(withoutBlank); in blankLinesImportComment()
DMainTest.java233 String optimized = new Formatter().formatSourceAndFixImports(joiner.join(input)); in optimizeImportsDoesNotLeaveEmptyLines()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DFormatter.java248 public String formatSourceAndFixImports(String input) throws FormatterException { in formatSourceAndFixImports() method in Formatter