Allow specifying CompilationCustomizer for Groovy based beans [SPR-14585] #19154
Comments
Juergen Hoeller commented Since our existing |
Juergen Hoeller commented I've revised |
Alexander Zobkov commented Thanks for implementing this improvement request! I think one thing left. The note you originally added in src/asciidoc/integration.adoc needs to be updated according to the "Consistent support for CompilationCustomizers as well as custom CompilerConfiguration" commit. |
Juergen Hoeller commented Good point, I've updated it now. |
Alexander Zobkov opened SPR-14585 and commented
Groovy (since 1.8) supports customizing compilation process. For example:
http://docs.groovy-lang.org/latest/html/gapi/org/codehaus/groovy/control/customizers/ASTTransformationCustomizer.html
Adding support for this feature allows to increase expressiveness of source files for groovy beans by hiding "noise" of explicit imports and AST annotations. With usage of DSL and groovy syntax sugar, source files for groovy beans can look like plain text in english that can be used and understandable for non programmers.
I tried to enable Import customizer with existing Spring API but failed to to do so, see attachment for code snippet.
Affects: 4.3 GA
Attachments:
Issue Links:
Referenced from: commits da56758, 53819c4, fbeff47, 433764d, 6a0d9d3
The text was updated successfully, but these errors were encountered: