diff options
author | Andre Brait <andrebrait@gmail.com> | 2020-07-13 17:15:03 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-09-24 22:25:15 +0200 |
commit | 4e0ffbc32913001082dd2387a20b480076ddd20a (patch) | |
tree | 2b4f761937c59192549348753a051b06f1c13a90 /test/transform/resource/before | |
parent | b78a6af49cb82dd1dc03e6839b33827688fda3f6 (diff) | |
download | lombok-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.java | 29 |
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 |