groovy

@EqualsAndHashCode.excludes doesn't work correctly with class inheritance