Hi all,

       As static groovy is widely used,  importing
`groovy.transform.TypeChecked`, `groovy.transform.CompileStatic` and
`groovy.transform.CompileDynamic` again and again makes user experience not
very good. So I propose to import the classes by default. For example,

After GEP accepted:
```
@CompileStatic
def hello {
   println 'hello'
}
```

Before GEP accepted:
```
import groovy.transform.CompileStatic

@CompileStatic
def hello {
   println 'hello'
}
```

       The target version of the GEP is Groovy 4. Any thoughts?

Cheers,
Daniel.Sun



-----
Apache Groovy committer & PMC member 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to