diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-23 03:12:50 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-11-23 03:12:50 +0100 |
commit | 728ae6421dd03bc78e37c0eb5d860f932b5fff2c (patch) | |
tree | efa7ca8635f4d897ebf5fb7a5733e0a17ae6e6a3 /test/transform/resource/before | |
parent | b8ced807a79660eef87f1833d1ec95d774a4f4a2 (diff) | |
download | lombok-728ae6421dd03bc78e37c0eb5d860f932b5fff2c.tar.gz lombok-728ae6421dd03bc78e37c0eb5d860f932b5fff2c.tar.bz2 lombok-728ae6421dd03bc78e37c0eb5d860f932b5fff2c.zip |
[Fixes #965] Adds a config key to automatically determine the behaviour of equals and hashCode generation when
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/EqualsAndHashCodeConfigKeys1.java | 9 | ||||
-rw-r--r-- | test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeConfigKeys1.java b/test/transform/resource/before/EqualsAndHashCodeConfigKeys1.java new file mode 100644 index 00000000..38520d8f --- /dev/null +++ b/test/transform/resource/before/EqualsAndHashCodeConfigKeys1.java @@ -0,0 +1,9 @@ +//CONF: lombok.equalsAndHashCode.callSuper = skip + +@lombok.EqualsAndHashCode +class EqualsAndHashCodeConfigKeys1Parent { +} +@lombok.EqualsAndHashCode +class EqualsAndHashCodeConfigKeys1 extends EqualsAndHashCodeConfigKeys1Parent { + int x; +} diff --git a/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java b/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java new file mode 100644 index 00000000..e3cf5a9c --- /dev/null +++ b/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java @@ -0,0 +1,9 @@ +//CONF: lombok.equalsAndHashCode.callSuper = call + +@lombok.EqualsAndHashCode +class EqualsAndHashCodeConfigKeys2Parent { +} +@lombok.EqualsAndHashCode +class EqualsAndHashCodeConfigKeys2 extends EqualsAndHashCodeConfigKeys2Parent { + int x; +} |