mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 06:21:43 +00:00
14 lines
270 B
Java
14 lines
270 B
Java
// skip-compare-contents
|
|
@lombok.EqualsAndHashCode(of={"x", Const.A})
|
|
final class EqualsAndHashCodeErrorOf {
|
|
int x;
|
|
}
|
|
|
|
@lombok.EqualsAndHashCode(exclude={"x", Const.A})
|
|
final class EqualsAndHashCodeErrorExclude {
|
|
int x;
|
|
}
|
|
|
|
class Const {
|
|
static final String A = "A";
|
|
} |