mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 06:16:14 +00:00
fix all SuperBuilder tests (changed order of generated methods)
This commit is contained in:
1 parent
588a4a88c1
commit
d2ae62ac71
52 files changed
+318
-318
No files matched your search
@@ -37,10 +37,6 @@ public class SuperBuilderWithSetterPrefix {
|
||||
b.withObtainViaStaticMethod(SuperBuilderWithSetterPrefix.Parent.staticMethod(instance));
|
||||
b.withItems(instance.items == null ? java.util.Collections.<String>emptyList() : instance.items);
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected abstract B self();
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public abstract C build();
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
@@ -93,6 +89,10 @@ public class SuperBuilderWithSetterPrefix {
|
||||
if (this.items != null) this.items.clear();
|
||||
return self();
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected abstract B self();
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public abstract C build();
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public java.lang.String toString() {
|
||||
@@ -160,12 +160,6 @@ public class SuperBuilderWithSetterPrefix {
|
||||
private static void $fillValuesFromInstanceIntoBuilder(final SuperBuilderWithSetterPrefix.Child instance, final SuperBuilderWithSetterPrefix.Child.ChildBuilder<?, ?> b) {
|
||||
b.setField3(instance.field3);
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected abstract B self();
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public abstract C build();
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
@@ -176,6 +170,12 @@ public class SuperBuilderWithSetterPrefix {
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
protected abstract B self();
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public abstract C build();
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public java.lang.String toString() {
|
||||
return "SuperBuilderWithSetterPrefix.Child.ChildBuilder(super=" + super.toString() + ", field3=" + this.field3 + ")";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user