aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 00:23:06 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 00:23:06 +0100
commitd60af3865fe03d820d0537d558e3c27459270067 (patch)
treed37c4eb479bb11b103f8f301d86ef947a7f2a6bc /test
parent28be9980407bc011a2bb4170bfe7334c050e2e91 (diff)
downloadlombok-d60af3865fe03d820d0537d558e3c27459270067.tar.gz
lombok-d60af3865fe03d820d0537d558e3c27459270067.tar.bz2
lombok-d60af3865fe03d820d0537d558e3c27459270067.zip
[tests] add new target for eclipse 2022-12.
Diffstat (limited to 'test')
-rw-r--r--test/core/src/lombok/RunTestsViaEcj.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java
index 60a6e92a..f4e75542 100644
--- a/test/core/src/lombok/RunTestsViaEcj.java
+++ b/test/core/src/lombok/RunTestsViaEcj.java
@@ -308,6 +308,14 @@ public class RunTestsViaEcj extends AbstractRunTests {
mainTypeName = CharOperation.subarray(fileNameCharArray, start, end);
}
+ @Override public int hashCode() {
+ return System.identityHashCode(this);
+ }
+
+ @Override public boolean equals(Object obj) {
+ return this == obj;
+ }
+
@Override public char[] getContents() {
return source;
}