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