public class JavaSourceCodeWriter extends Object implements SourceCodeWriter<JavaSourceCode>
SourceCodeWriter that writes SourceCode in Java.| Constructor and Description |
|---|
JavaSourceCodeWriter(IndentingWriterFactory indentingWriterFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(SourceStructure structure,
JavaSourceCode sourceCode)
Write, to the given
structure, the given sourceCode. |
public JavaSourceCodeWriter(IndentingWriterFactory indentingWriterFactory)
public void writeTo(SourceStructure structure, JavaSourceCode sourceCode) throws IOException
SourceCodeWriterstructure, the given sourceCode.writeTo in interface SourceCodeWriter<JavaSourceCode>structure - the SourceStructure beneath which the source code is
writtensourceCode - the source code to writeIOException - if writing failsCopyright © 2019 Pivotal Software, Inc.. All rights reserved.