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