Package io.micronaut.sourcegen
Class GroovyPoetSourceGenerator
java.lang.Object
io.micronaut.sourcegen.JavaPoetSourceGenerator
io.micronaut.sourcegen.GroovyPoetSourceGenerator
- All Implemented Interfaces:
SourceGenerator
Reuse the Java source generator for Groovy.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.inject.visitor.VisitorContext.Language
Methods inherited from class io.micronaut.sourcegen.JavaPoetSourceGenerator
write
-
Constructor Details
-
GroovyPoetSourceGenerator
public GroovyPoetSourceGenerator()
-
-
Method Details
-
getLanguage
public io.micronaut.inject.visitor.VisitorContext.Language getLanguage()- Specified by:
getLanguage
in interfaceSourceGenerator
- Overrides:
getLanguage
in classJavaPoetSourceGenerator
- Returns:
- The source language of the generator
-