aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java24
-rw-r--r--test/transform/resource/after-ecj/EqualsAndHashCodeConfigKeys2.java22
-rw-r--r--test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java4
3 files changed, 49 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
index 43c271fa..333b6b58 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
@@ -1,3 +1,27 @@
+class EqualsAndHashCodeConfigKeys2Object extends Object {
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof EqualsAndHashCodeConfigKeys2Object)) return false;
+ final EqualsAndHashCodeConfigKeys2Object other = (EqualsAndHashCodeConfigKeys2Object) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
+ return true;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ protected boolean canEqual(final java.lang.Object other) {
+ return other instanceof EqualsAndHashCodeConfigKeys2Object;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ int result = 1;
+ return result;
+ }
+}
class EqualsAndHashCodeConfigKeys2Parent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
diff --git a/test/transform/resource/after-ecj/EqualsAndHashCodeConfigKeys2.java b/test/transform/resource/after-ecj/EqualsAndHashCodeConfigKeys2.java
index 0b93f980..ff0e45c7 100644
--- a/test/transform/resource/after-ecj/EqualsAndHashCodeConfigKeys2.java
+++ b/test/transform/resource/after-ecj/EqualsAndHashCodeConfigKeys2.java
@@ -1,3 +1,25 @@
+@lombok.EqualsAndHashCode class EqualsAndHashCodeConfigKeys2Object extends Object {
+ EqualsAndHashCodeConfigKeys2Object() {
+ super();
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean equals(final java.lang.Object o) {
+ if ((o == this))
+ return true;
+ if ((! (o instanceof EqualsAndHashCodeConfigKeys2Object)))
+ return false;
+ final EqualsAndHashCodeConfigKeys2Object other = (EqualsAndHashCodeConfigKeys2Object) o;
+ if ((! other.canEqual((java.lang.Object) this)))
+ return false;
+ return true;
+ }
+ protected @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean canEqual(final java.lang.Object other) {
+ return (other instanceof EqualsAndHashCodeConfigKeys2Object);
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int hashCode() {
+ int result = 1;
+ return result;
+ }
+}
@lombok.EqualsAndHashCode class EqualsAndHashCodeConfigKeys2Parent {
EqualsAndHashCodeConfigKeys2Parent() {
super();
diff --git a/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java b/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java
index e3cf5a9c..08698184 100644
--- a/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java
+++ b/test/transform/resource/before/EqualsAndHashCodeConfigKeys2.java
@@ -1,5 +1,7 @@
//CONF: lombok.equalsAndHashCode.callSuper = call
-
+@lombok.EqualsAndHashCode
+class EqualsAndHashCodeConfigKeys2Object extends Object {
+}
@lombok.EqualsAndHashCode
class EqualsAndHashCodeConfigKeys2Parent {
}