aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorAndre Brait <andrebrait@gmail.com>2020-07-13 17:15:03 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-09-24 22:25:15 +0200
commit4e0ffbc32913001082dd2387a20b480076ddd20a (patch)
tree2b4f761937c59192549348753a051b06f1c13a90 /test/transform/resource/before
parentb78a6af49cb82dd1dc03e6839b33827688fda3f6 (diff)
downloadlombok-4e0ffbc32913001082dd2387a20b480076ddd20a.tar.gz
lombok-4e0ffbc32913001082dd2387a20b480076ddd20a.tar.bz2
lombok-4e0ffbc32913001082dd2387a20b480076ddd20a.zip
Eclipse impl and tests
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeCache.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeCache.java b/test/transform/resource/before/EqualsAndHashCodeCache.java
new file mode 100644
index 00000000..3c84ee59
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeCache.java
@@ -0,0 +1,29 @@
+@lombok.EqualsAndHashCode(cacheStrategy = lombok.EqualsAndHashCode.CacheStrategy.LAZY)
+class EqualsAndHashCode {
+ int x;
+ boolean[] y;
+ Object[] z;
+ String a;
+ String b;
+}
+
+@lombok.EqualsAndHashCode(cacheStrategy = lombok.EqualsAndHashCode.CacheStrategy.LAZY)
+final class EqualsAndHashCode2 {
+ int x;
+ long y;
+ float f;
+ double d;
+ boolean b;
+}
+
+@lombok.EqualsAndHashCode(callSuper=false, cacheStrategy = lombok.EqualsAndHashCode.CacheStrategy.LAZY)
+final class EqualsAndHashCode3 extends EqualsAndHashCode {
+}
+
+@lombok.EqualsAndHashCode(callSuper=true, cacheStrategy = lombok.EqualsAndHashCode.CacheStrategy.LAZY)
+class EqualsAndHashCode4 extends EqualsAndHashCode {
+}
+
+@lombok.EqualsAndHashCode(callSuper=true, cacheStrategy = lombok.EqualsAndHashCode.CacheStrategy.LAZY)
+final class EqualsAndHashCode5 extends EqualsAndHashCode {
+} \ No newline at end of file