Home
last modified time | relevance | path

Searched refs:openWriter (Results 1 – 25 of 33) sorted by relevance

12

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/filer/
DFormattingJavaFileObject.java53 public Writer openWriter() throws IOException { in openWriter() method in FormattingJavaFileObject
77 return fileObject.openWriter(); in openWriter()
84 try (Writer writer = fileObject.openWriter()) { in openWriter()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DFileUtilities.java73 return openWriter(dir, filename, StandardCharsets.UTF_8); in openUTF8Writer()
77 return openWriter(dir, filename, StandardCharsets.UTF_8); in openUTF8Writer()
81 return openWriter(file, StandardCharsets.UTF_8); in openUTF8Writer()
84 …public static PrintWriter openWriter(File dir, String filename, Charset encoding) throws IOExcepti… in openWriter() method in FileUtilities
91 return openWriter(file, encoding); in openWriter()
94 private static PrintWriter openWriter(File file, Charset encoding) throws IOException { in openWriter() method in FileUtilities
111 …public static PrintWriter openWriter(String dir, String filename, String encoding) throws IOExcept… in openWriter() method in FileUtilities
112 return openWriter(new File(dir), filename, Charset.forName(encoding)); in openWriter()
115 …public static PrintWriter openWriter(String dir, String filename, Charset encoding) throws IOExcep… in openWriter() method in FileUtilities
116 return openWriter(new File(dir), filename, encoding); in openWriter()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/filer/
DFormattingFilerTest.java76 try (Writer writer = formattingFiler.createSourceFile("foo.Bar").openWriter()) { in invalidSyntaxDoesNotThrowError()
87 try (Writer writer = sourceFile.openWriter()) { in formatsFile()
141 public Writer openWriter() throws IOException { in openWriter() method in FormattingFilerTest.ObservingJavaFileObject
/external/turbine/javatests/com/google/turbine/processing/
DProcessingIntegrationTest.java136 try (Writer writer = file.openWriter()) { in process()
194 try (Writer writer = processingEnv.getFiler().createSourceFile("Gen").openWriter()) { in process()
201 .openWriter()) { in process() argument
208 .openWriter()) { in process() argument
307 .openWriter(), in process() argument
365 try (Writer writer = processingEnv.getFiler().createSourceFile(name).openWriter()) { in process()
489 try (Writer writer = file.openWriter()) { in process()
DTurbineFilerTest.java123 try (Writer writer = classFile.openWriter()) { in sourceOutput()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB21465217.input8 … try (Writer sourceWriter = env.getFiler().createSourceFile(qualifiedNamezzzzzzzz).openWriter()) {
DB21465217.output9 env.getFiler().createSourceFile(qualifiedNamezzzzzzzz).openWriter()) {
/external/bazelbuild-kotlin-rules/tests/jvm/java/kapt/
DProcessorWithData.kt55 processingEnv.filer.createSourceFile(c.value, element).openWriter().use { in getSupportedSourceVersion()
/external/dagger2/javatests/dagger/internal/codegen/
DGeneratingProcessor.java56 processingEnv.getFiler().createSourceFile(generatedClassName).openWriter()) { in process()
/external/dagger2/java/dagger/android/internal/proguard/
DProguardProcessor.java82 .openWriter()) { in writeFile()
/external/dagger2/javatests/dagger/functional/spi/
DTestPlugin.java64 .openWriter()) { in write()
/external/testng/src/main/java/org/testng/internal/
DUtils.java190 fw = openWriter(outputFile, encoding, append); in writeFile()
224 …public static BufferedWriter openWriter(@Nullable String outputDir, String fileName) throws IOExce… in openWriter() method in Utils
233 return openWriter(outputFile, null, false); in openWriter()
236 …private static BufferedWriter openWriter(File outputFile, @Nullable String encoding, boolean appen… in openWriter() method in Utils
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootFileFormatter.java54 try (Writer writer = filerSourceFile.openWriter()) { in write()
/external/turbine/java/com/google/turbine/processing/
DTurbineFiler.java243 public final Writer openWriter() { in openWriter() method in TurbineFiler.ReadOnlyFileObject
325 public Writer openWriter() { in openWriter() method in TurbineFiler.TurbineJavaFileObject
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DFutureWrappersGenerator.java119 try (PrintWriter out = new PrintWriter(builderFile.openWriter())) { in generateFutureWrapper()
DParcelableWrappersGenerator.java136 try (PrintWriter out = new PrintWriter(builderFile.openWriter())) { in generateDefaultParcelableWrapper()
DGeneratorUtilities.java172 try (PrintWriter out = new PrintWriter(builderFile.openWriter())) { in writeClassToFile()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DShadowProviderGenerator.java52 try (PrintWriter writer = new PrintWriter(jfo.openWriter())) { in generate()
/external/robolectric/processor/src/main/java/org/robolectric/annotation/processing/generator/
DShadowProviderGenerator.java51 try (PrintWriter writer = new PrintWriter(jfo.openWriter())) { in generate()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DGwtSerialization.java236 try (Writer writer = sourceFile.openWriter()) { in writeSourceFile()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java109 try (PrintWriter writer = new PrintWriter(file.openWriter())) { in visitGraph()
/external/javapoet/src/main/java/com/squareup/javapoet/
DJavaFile.java171 try (Writer writer = filerSourceFile.openWriter()) { in writeTo()
/external/auto/common/src/test/java/com/google/auto/common/
DBasicAnnotationProcessorTest.java535 writer = new PrintWriter(filer.createSourceFile("test." + generatedClassName).openWriter());
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLocaleDistanceBuilder.java868 private static PrintWriter openWriter() throws IOException { in openWriter() method in LocaleDistanceBuilder
893 try (PrintWriter out = openWriter()) { in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLocaleDistanceBuilder.java871 private static PrintWriter openWriter() throws IOException { in openWriter() method in LocaleDistanceBuilder
896 try (PrintWriter out = openWriter()) { in main()

12