Class KotlinSourceCodeWriter
java.lang.Object
io.spring.initializr.generator.language.kotlin.KotlinSourceCodeWriter
- All Implemented Interfaces:
SourceCodeWriter<KotlinSourceCode>
A
SourceCodeWriter
that writes SourceCode
in Kotlin.- Author:
- Stephane Nicoll, Matt Berteaux
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(SourceStructure structure, KotlinSourceCode sourceCode) Write, to the givenstructure
, the givensourceCode
.
-
Constructor Details
-
KotlinSourceCodeWriter
-
-
Method Details
-
writeTo
Description copied from interface:SourceCodeWriter
Write, to the givenstructure
, the givensourceCode
.- Specified by:
writeTo
in interfaceSourceCodeWriter<KotlinSourceCode>
- Parameters:
structure
- theSourceStructure
beneath which the source code is writtensourceCode
- the source code to write- Throws:
IOException
- if writing fails
-