[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

@@ -5,26 +5,32 @@ public class SuperBuilderWithCustomBuilderMethod {
A field1;
List<String> items;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static abstract class ParentBuilder<A, C extends SuperBuilderWithCustomBuilderMethod.Parent<A>, B extends SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilder<A, C, B>> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private A field1;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private java.util.ArrayList<String> items;
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B field1(final A field1) {
this.field1 = field1;
return self();
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B item(final String item) {
if (this.items == null) this.items = new java.util.ArrayList<String>();
this.items.add(item);
return self();
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B items(final java.util.Collection<? extends String> items) {
if (items == null) {
throw new java.lang.NullPointerException("items cannot be null");
@@ -34,37 +40,46 @@ public class SuperBuilderWithCustomBuilderMethod {
return self();
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B clearItems() {
if (this.items != null) this.items.clear();
return self();
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected abstract B self();
@java.lang.SuppressWarnings("all")
@lombok.Generated
public abstract C build();
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilder(field1=" + this.field1 + ", items=" + this.items + ")";
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
private static final class ParentBuilderImpl<A> extends SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilder<A, SuperBuilderWithCustomBuilderMethod.Parent<A>, SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilderImpl<A>> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private ParentBuilderImpl() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilderImpl<A> self() {
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public SuperBuilderWithCustomBuilderMethod.Parent<A> build() {
return new SuperBuilderWithCustomBuilderMethod.Parent<A>(this);
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected Parent(final SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilder<A, ?, ?> b) {
this.field1 = b.field1;
java.util.List<String> items;
@@ -81,6 +96,7 @@ public class SuperBuilderWithCustomBuilderMethod {
this.items = items;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static <A> SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilder<A, ?, ?> builder() {
return new SuperBuilderWithCustomBuilderMethod.Parent.ParentBuilderImpl<A>();
}
@@ -91,46 +107,57 @@ public class SuperBuilderWithCustomBuilderMethod {
return new ChildBuilderImpl<A>().item("default item");
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static abstract class ChildBuilder<A, C extends SuperBuilderWithCustomBuilderMethod.Child<A>, B extends SuperBuilderWithCustomBuilderMethod.Child.ChildBuilder<A, C, B>> extends Parent.ParentBuilder<A, C, B> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private double field3;
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B field3(final double field3) {
this.field3 = field3;
return self();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected abstract B self();
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public abstract C build();
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "SuperBuilderWithCustomBuilderMethod.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
private static final class ChildBuilderImpl<A> extends SuperBuilderWithCustomBuilderMethod.Child.ChildBuilder<A, SuperBuilderWithCustomBuilderMethod.Child<A>, SuperBuilderWithCustomBuilderMethod.Child.ChildBuilderImpl<A>> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private ChildBuilderImpl() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected SuperBuilderWithCustomBuilderMethod.Child.ChildBuilderImpl<A> self() {
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public SuperBuilderWithCustomBuilderMethod.Child<A> build() {
return new SuperBuilderWithCustomBuilderMethod.Child<A>(this);
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected Child(final SuperBuilderWithCustomBuilderMethod.Child.ChildBuilder<A, ?, ?> b) {
super(b);
this.field3 = b.field3;