Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-beta-1, 2.5.7
-
None
Description
A class defined as
@groovy.transform.AutoExternalize class ClassUnderTest { void writeExternal(ObjectOutput out) throws IOException { } void readExternal(ObjectInput oin) { } }
Will override the definition of readExternal/writeExternal every single time.
In contrast with @Canonical for example where explicit toString() is not overridden.
Attachments
Issue Links
- is related to
-
GROOVY-9161 Sortable AST transform replaces custom compareTo method
- Closed