mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
[tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not.
This commit is contained in:
292 files changed
+2545
-432
No files matched your search
@@ -1,21 +1,20 @@
|
||||
public class ValueInAnonymousClass {
|
||||
Object annonymous = new Object() {
|
||||
|
||||
final class Inner {
|
||||
private final String string;
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public Inner(final String string) {
|
||||
this.string = string;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public String getString() {
|
||||
return this.string;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof Inner)) return false;
|
||||
@@ -25,9 +24,9 @@ public class ValueInAnonymousClass {
|
||||
if (this$string == null ? other$string != null : !this$string.equals(other$string)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
@@ -35,9 +34,9 @@ public class ValueInAnonymousClass {
|
||||
result = result * PRIME + ($string == null ? 43 : $string.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public java.lang.String toString() {
|
||||
return "Inner(string=" + this.getString() + ")";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user