Hi Groovy users,
added @AutoFinal* ticket & extended @NamedVariant to include @NamedParam
and @NamedDelegate: https://youtrack.jetbrains.com/issue/IDEA-193168
Plz vote,
Cheers,
mg
*If you (like me) basically never reassign method/closure/ctor
parameters inside methods/..., they are effectively final and should
carry that modifier, for documentation purposes and to catch if a
programmer does try to reassign.
Alas that massively clutters the method signature - Groovy's
@AutoFinal takes care of that for you, telling Groovy to assume every
method/closure/ctor parameter inside an annotated class carries the
final modifier (you can exclude a method/... again by annotating it
with @AutoFinal(enabled = false) ) G-)