[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:
Reinier Zwitserloot committed 2024-05-17 03:39:42 +02:00
1 parent a97891e5f6
commit d8f7b19071
292 files changed
+2545 -432

No files matched your search

@@ -1,9 +1,9 @@
public class NullLibrary3 {
@jakarta.annotation.Nonnull
String foo;
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(@jakarta.annotation.Nullable final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof NullLibrary3)) return false;
@@ -14,14 +14,14 @@ public class NullLibrary3 {
if (this$foo == null ? other$foo != null : !this$foo.equals(other$foo)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(@jakarta.annotation.Nullable final java.lang.Object other) {
return other instanceof NullLibrary3;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -29,31 +29,31 @@ public class NullLibrary3 {
result = result * PRIME + ($foo == null ? 43 : $foo.hashCode());
return result;
}
@jakarta.annotation.Nonnull
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "NullLibrary3(foo=" + this.foo + ")";
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public NullLibrary3(@jakarta.annotation.Nonnull final String foo) {
if (foo == null) {
throw new java.lang.NullPointerException("foo is marked non-null but is null");
}
this.foo = foo;
}
/**
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
*/
@jakarta.annotation.Nonnull
@java.lang.SuppressWarnings("all")
@lombok.Generated
public NullLibrary3 withFoo(@jakarta.annotation.Nonnull final String foo) {
if (foo == null) {
throw new java.lang.NullPointerException("foo is marked non-null but is null");
}
return this.foo == foo ? this : new NullLibrary3(foo);
}
}
}