[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

@@ -4,26 +4,32 @@ public class SuperBuilderWithGenerics2 {
A field1;
List<String> items;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static abstract class ParentBuilder<A, C extends SuperBuilderWithGenerics2.Parent<A>, B extends SuperBuilderWithGenerics2.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");
@@ -33,37 +39,46 @@ public class SuperBuilderWithGenerics2 {
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 "SuperBuilderWithGenerics2.Parent.ParentBuilder(field1=" + this.field1 + ", items=" + this.items + ")";
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
private static final class ParentBuilderImpl<A> extends SuperBuilderWithGenerics2.Parent.ParentBuilder<A, SuperBuilderWithGenerics2.Parent<A>, SuperBuilderWithGenerics2.Parent.ParentBuilderImpl<A>> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private ParentBuilderImpl() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected SuperBuilderWithGenerics2.Parent.ParentBuilderImpl<A> self() {
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public SuperBuilderWithGenerics2.Parent<A> build() {
return new SuperBuilderWithGenerics2.Parent<A>(this);
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected Parent(final SuperBuilderWithGenerics2.Parent.ParentBuilder<A, ?, ?> b) {
this.field1 = b.field1;
java.util.List<String> items;
@@ -80,6 +95,7 @@ public class SuperBuilderWithGenerics2 {
this.items = items;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static <A> SuperBuilderWithGenerics2.Parent.ParentBuilder<A, ?, ?> builder() {
return new SuperBuilderWithGenerics2.Parent.ParentBuilderImpl<A>();
}
@@ -87,51 +103,63 @@ public class SuperBuilderWithGenerics2 {
public static class Child<A> extends Parent<String> {
A field3;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static abstract class ChildBuilder<A, C extends SuperBuilderWithGenerics2.Child<A>, B extends SuperBuilderWithGenerics2.Child.ChildBuilder<A, C, B>> extends Parent.ParentBuilder<String, C, B> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private A field3;
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public B field3(final A 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 "SuperBuilderWithGenerics2.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
private static final class ChildBuilderImpl<A> extends SuperBuilderWithGenerics2.Child.ChildBuilder<A, SuperBuilderWithGenerics2.Child<A>, SuperBuilderWithGenerics2.Child.ChildBuilderImpl<A>> {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private ChildBuilderImpl() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected SuperBuilderWithGenerics2.Child.ChildBuilderImpl<A> self() {
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public SuperBuilderWithGenerics2.Child<A> build() {
return new SuperBuilderWithGenerics2.Child<A>(this);
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected Child(final SuperBuilderWithGenerics2.Child.ChildBuilder<A, ?, ?> b) {
super(b);
this.field3 = b.field3;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static <A> SuperBuilderWithGenerics2.Child.ChildBuilder<A, ?, ?> builder2() {
return new SuperBuilderWithGenerics2.Child.ChildBuilderImpl<A>();
}