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 TypeMethodDescriptionvoidwriteTo(SourceStructure structure, KotlinSourceCode sourceCode) Write, to the givenstructure, the givensourceCode.
-
Constructor Details
-
KotlinSourceCodeWriter
-
-
Method Details
-
writeTo
Description copied from interface:SourceCodeWriterWrite, to the givenstructure, the givensourceCode.- Specified by:
writeToin interfaceSourceCodeWriter<KotlinSourceCode>- Parameters:
structure- theSourceStructurebeneath which the source code is writtensourceCode- the source code to write- Throws:
IOException- if writing fails
-