I'm using Groovy-Eclipse on a Grails 3 project. We are starting to the the @GrailsCompileStatic annotation to have Goovy do static type checking, but also not fail the methods that come from Grail's metaclasses. However, in Eclipse these methods are still marked as missing, so it appears that annotation isn't being applied in the same way it does from the command line.
For instance, the log and respond methods on controllers are provided by metaclasses, but show up as errors.
GrailsCompileStatic code
GrailsCompileStatic docs
Thanks
I'm using Groovy-Eclipse on a Grails 3 project. We are starting to the the @GrailsCompileStatic annotation to have Goovy do static type checking, but also not fail the methods that come from Grail's metaclasses. However, in Eclipse these methods are still marked as missing, so it appears that annotation isn't being applied in the same way it does from the command line.
For instance, the
logandrespondmethods on controllers are provided by metaclasses, but show up as errors.GrailsCompileStatic code
GrailsCompileStatic docs
Thanks