Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
@EqualsAndHashCode should allow for calling superclass if superclass is not Object #965
We have a lot of JAXB-generated classes from externally supplied schema. We typically want to add equals and hashcode methods to each of these classes. There are packages to automatically add annotations to JAXB-generated classes, but it's not simple to set callSuper to true if and only if the class has no extensions.
Would it be possible for callSuper to have an 'automatic' mode, which calls the superclass method iif that class is not Object?