Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
It would be useful to be able to apply compilation customizers on some files only. Currently, the mechanism is global.
The idea is to split the feature in two classes:
- DelegatingCustomizer, an abstract class for people willing to implement custom guards, which delegates execution to another customizer
- SourceAwareCustomizer, a subclass allowing guards based on the current SourceUnit
Attachments
Issue Links
- is depended upon by
-
GROOVY-5503 Compiler flag for type checking most classes, and TypeUnchecked annotation override
- Closed