aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java b/test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java
new file mode 100644
index 00000000..b8ba21fb
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeOfAndExclude.java
@@ -0,0 +1,11 @@
+@lombok.EqualsAndHashCode(of={"x"})
+final class EqualsAndHashCodeOf {
+ int x;
+ int y;
+}
+
+@lombok.EqualsAndHashCode(exclude={"y"})
+final class EqualsAndHashCodeExclude {
+ int x;
+ int y;
+}