public class GroovySourceCodeWriter extends Object implements SourceCodeWriter<GroovySourceCode>
SourceCodeWriter that writes SourceCode in Groovy.| Constructor and Description |
|---|
GroovySourceCodeWriter(IndentingWriterFactory indentingWriterFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(SourceStructure structure,
GroovySourceCode sourceCode)
Write, to the given
structure, the given sourceCode. |
public GroovySourceCodeWriter(IndentingWriterFactory indentingWriterFactory)
public void writeTo(SourceStructure structure, GroovySourceCode sourceCode) throws IOException
SourceCodeWriterstructure, the given sourceCode.writeTo in interface SourceCodeWriter<GroovySourceCode>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.