blob: 0665d12071aeccb227349cd7a2fb0a2ebdfe5a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import lombok.EqualsAndHashCode;
@EqualsAndHashCode
public class EqualsAndHashCodeNewStyle {
@EqualsAndHashCode.Include int b;
double c;
int f;
@EqualsAndHashCode.Include int d;
@EqualsAndHashCode.Include int f() {
return 0;
}
int g;
@EqualsAndHashCode.Include(replaces = "g") long i() {
return 0;
}
@EqualsAndHashCode.Exclude int j;
}
|