diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-06-08 22:40:53 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-06-08 22:44:19 +0200 |
commit | ea219cd7ce76fa1140901050cce73e58f9ddb6d1 (patch) | |
tree | 3fdb56f087088ae3e7b0a0d893f71637b0068025 /test/transform/resource/after-delombok | |
parent | 6cec66eb2bb0406cf2fb7436e1aa2f6f71aa8be5 (diff) | |
download | lombok-ea219cd7ce76fa1140901050cce73e58f9ddb6d1.tar.gz lombok-ea219cd7ce76fa1140901050cce73e58f9ddb6d1.tar.bz2 lombok-ea219cd7ce76fa1140901050cce73e58f9ddb6d1.zip |
add test to verify config key callSuper=call works with Value
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/ValueCallSuper.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValueCallSuper.java b/test/transform/resource/after-delombok/ValueCallSuper.java new file mode 100644 index 00000000..e0065885 --- /dev/null +++ b/test/transform/resource/after-delombok/ValueCallSuper.java @@ -0,0 +1,39 @@ +class ValueParent { +} +final class ValueCallSuper extends ValueParent { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + public ValueCallSuper() { + } + @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 ValueCallSuper)) return false; + final ValueCallSuper other = (ValueCallSuper) o; + if (!other.canEqual((java.lang.Object) this)) return false; + if (!super.equals(o)) return false; + return true; + } + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + protected boolean canEqual(final java.lang.Object other) { + return other instanceof ValueCallSuper; + } + @java.lang.Override + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = result * PRIME + super.hashCode(); + return result; + } + @java.lang.Override + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") + public java.lang.String toString() { + return "ValueCallSuper()"; + } +} |