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