aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java
new file mode 100644
index 00000000..9babf443
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeOfAndExcludeWarn.java
@@ -0,0 +1,10 @@
+// skip-compare-contents
+@lombok.EqualsAndHashCode(of={"y"})
+final class EqualsAndHashCodeWarnOf {
+ int x;
+}
+
+@lombok.EqualsAndHashCode(exclude={"y"})
+final class EqualsAndHashCodeWarnExclude {
+ int x;
+}