GROOVY-6354 Allow addCopyWith for @Immutable annotation
CompileStatic fix
fixed test
Test unknown keys have no effect
Change 'addCopyWith' to 'copyWith' in @Immutable
Fix for generics via ClassNode with redirect
Added checks for null or empty map, and rewrote generated AST
Removed dead code, added check for map size
Cleanup
Removed Unused types and imports
Changed newValue==oldValue to DefaultTypeTransformation.compareEqual
Reverted equality check
getPlainNodeReference in place of ClassHelper.makeWithoutCaching
GROOVY-6354: minor refactor (keep tests together)
GROOVY-6354: minor refactor (keep tests together)