aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 18:17:00 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 18:17:00 +0100
commite5705f94cd3778a2e0d25060f1e013d0c33bfb90 (patch)
tree679dac4dce518d253c34f125a573b66aaf167f43 /test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
parent26b2fb5cd6d4d73b270be3787fa876cc1bfe80f2 (diff)
downloadlombok-e5705f94cd3778a2e0d25060f1e013d0c33bfb90.tar.gz
lombok-e5705f94cd3778a2e0d25060f1e013d0c33bfb90.tar.bz2
lombok-e5705f94cd3778a2e0d25060f1e013d0c33bfb90.zip
* Added config key ‘lombok.addGeneratedAnnotation’.
* Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys.
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
index 44f61eb4..37eeb8df 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java
@@ -6,13 +6,11 @@ class EqualsAndHashCodeWithSomeExistingMethods {
return 42;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public EqualsAndHashCodeWithSomeExistingMethods() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "EqualsAndHashCodeWithSomeExistingMethods(x=" + this.x + ")";
}
@@ -23,12 +21,10 @@ class EqualsAndHashCodeWithSomeExistingMethods2 {
return false;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public EqualsAndHashCodeWithSomeExistingMethods2() {
}
@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 EqualsAndHashCodeWithSomeExistingMethods2)) return false;
@@ -39,7 +35,6 @@ class EqualsAndHashCodeWithSomeExistingMethods2 {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -48,7 +43,6 @@ class EqualsAndHashCodeWithSomeExistingMethods2 {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "EqualsAndHashCodeWithSomeExistingMethods2(x=" + this.x + ")";
}
@@ -62,12 +56,10 @@ class EqualsAndHashCodeWithAllExistingMethods {
return false;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public EqualsAndHashCodeWithAllExistingMethods() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "EqualsAndHashCodeWithAllExistingMethods(x=" + this.x + ")";
}
@@ -75,13 +67,11 @@ class EqualsAndHashCodeWithAllExistingMethods {
class EqualsAndHashCodeWithNoExistingMethods {
int x;
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public EqualsAndHashCodeWithNoExistingMethods() {
}
@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 EqualsAndHashCodeWithNoExistingMethods)) return false;
@@ -91,13 +81,11 @@ class EqualsAndHashCodeWithNoExistingMethods {
return true;
}
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCodeWithNoExistingMethods;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -106,7 +94,6 @@ class EqualsAndHashCodeWithNoExistingMethods {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "EqualsAndHashCodeWithNoExistingMethods(x=" + this.x + ")";
}