aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/EqualsAndHashCodeNewStyle.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/EqualsAndHashCodeNewStyle.java')
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeNewStyle.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/EqualsAndHashCodeNewStyle.java b/test/transform/resource/before/EqualsAndHashCodeNewStyle.java
new file mode 100644
index 00000000..0665d120
--- /dev/null
+++ b/test/transform/resource/before/EqualsAndHashCodeNewStyle.java
@@ -0,0 +1,16 @@
+import lombok.EqualsAndHashCode;
+@EqualsAndHashCode
+public class EqualsAndHashCodeNewStyle {
+ @EqualsAndHashCode.Include int b;
+ double c;
+ int f;
+ @EqualsAndHashCode.Include int d;
+ @EqualsAndHashCode.Include int f() {
+ return 0;
+ }
+ int g;
+ @EqualsAndHashCode.Include(replaces = "g") long i() {
+ return 0;
+ }
+ @EqualsAndHashCode.Exclude int j;
+}