Class GroovyPoetSourceGenerator

java.lang.Object
io.micronaut.sourcegen.JavaPoetSourceGenerator
io.micronaut.sourcegen.GroovyPoetSourceGenerator
All Implemented Interfaces:
SourceGenerator

@Internal public final class GroovyPoetSourceGenerator extends JavaPoetSourceGenerator
Reuse the Java source generator for Groovy. Every generated class, record, enum and interface is annotated with groovy.transform.CompileStatic so that the Groovy compiler compiles it statically.
Since:
1.0
Author:
Denis Stepanov
  • Constructor Details

    • GroovyPoetSourceGenerator

      public GroovyPoetSourceGenerator()
  • Method Details