Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.1
-
None
-
None
Description
InĀ org.codehaus.groovy.control.customizers.builder.CompilerCustomizationBuilder, could the Closure param have a DelegatesTo annotation indicating that the builder is the delegate?
Proposed:
public static CompilerConfiguration withConfig(CompilerConfiguration config, @DelegatesTo(type="org.codehaus.groovy.control.customizers.builder.CompilerCustomizationBuilder") Closure code) {
I verified that delegate is CompilerCustomizationBuilder, owner is the compiler config script type (probably the Closure's declaring type, and resolveStrategy is OWNER_FIRST.