mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +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:
264 files changed
+2496
-2504
No files matched your search
@@ -3,14 +3,14 @@ public @lombok.EqualsAndHashCode @lombok.ToString @lombok.AllArgsConstructor cla
|
||||
/**
|
||||
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
|
||||
*/
|
||||
public @jakarta.annotation.Nonnull @java.lang.SuppressWarnings("all") NullLibrary3 withFoo(final @jakarta.annotation.Nonnull String foo) {
|
||||
public @jakarta.annotation.Nonnull @java.lang.SuppressWarnings("all") @lombok.Generated NullLibrary3 withFoo(final @jakarta.annotation.Nonnull 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));
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final @jakarta.annotation.Nullable java.lang.Object o) {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated boolean equals(final @jakarta.annotation.Nullable java.lang.Object o) {
|
||||
if ((o == this))
|
||||
return true;
|
||||
if ((! (o instanceof NullLibrary3)))
|
||||
@@ -24,20 +24,20 @@ public @lombok.EqualsAndHashCode @lombok.ToString @lombok.AllArgsConstructor cla
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") boolean canEqual(final @jakarta.annotation.Nullable java.lang.Object other) {
|
||||
protected @java.lang.SuppressWarnings("all") @lombok.Generated boolean canEqual(final @jakarta.annotation.Nullable java.lang.Object other) {
|
||||
return (other instanceof NullLibrary3);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
final java.lang.Object $foo = this.foo;
|
||||
result = ((result * PRIME) + (($foo == null) ? 43 : $foo.hashCode()));
|
||||
return result;
|
||||
}
|
||||
public @java.lang.Override @jakarta.annotation.Nonnull @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
public @java.lang.Override @jakarta.annotation.Nonnull @java.lang.SuppressWarnings("all") @lombok.Generated java.lang.String toString() {
|
||||
return (("NullLibrary3(foo=" + this.foo) + ")");
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") NullLibrary3(final @jakarta.annotation.Nonnull String foo) {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated NullLibrary3(final @jakarta.annotation.Nonnull String foo) {
|
||||
super();
|
||||
if ((foo == null))
|
||||
{
|
||||
@@ -45,4 +45,4 @@ public @lombok.EqualsAndHashCode @lombok.ToString @lombok.AllArgsConstructor cla
|
||||
}
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user