diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-12 00:23:06 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-12 00:40:03 +0100 |
commit | ffd364b964e671eac8fb6ae700834d5d977b5b00 (patch) | |
tree | daf106051643d435f734e7425dd4fe8767149f78 /test/core/src | |
parent | a6f34d0a157eaf9a71ab1dc58024e9742dc913e3 (diff) | |
download | lombok-ffd364b964e671eac8fb6ae700834d5d977b5b00.tar.gz lombok-ffd364b964e671eac8fb6ae700834d5d977b5b00.tar.bz2 lombok-ffd364b964e671eac8fb6ae700834d5d977b5b00.zip |
[tests] add new target for eclipse 2022-12.
Diffstat (limited to 'test/core/src')
-rw-r--r-- | test/core/src/lombok/RunTestsViaEcj.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java index 8de9cd9c..699b33ed 100644 --- a/test/core/src/lombok/RunTestsViaEcj.java +++ b/test/core/src/lombok/RunTestsViaEcj.java @@ -312,6 +312,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; } |