Groovy web console

subscribe to the feed Subscribe
to this
site
null errr (via #groovywebconsole)
tweet this snippet Tweet
this
script

null errr

Published 4 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
import groovy.transform.CompileStatic

println "Groovy version: $GroovySystem.version"

@CompileStatic
class Batata {
     String foo
}

@CompileStatic
def main() {
     new Batata(foo: null)
}