@Role public interface GroovyCompilationCustomizer
CompilationCustomizers to perform Groovy customization such as: automatically add imports, stop script execution after a certain timeout, prevents using some imports/statements/operators/etc, and more.
Note that we would have liked to not have this interface and instead have our component implementations directly
CompilationCustomizer but unfortunately the Groovy guys made the choice(wrong, IMO) to not use an
interface for CompilationCustomizer; it's an Abstract class! (yuck, even the name is wrong since a good practice is
to have Abstract in the name of Abstract classes...).
Copyright © 2004–2021 XWiki. All rights reserved.