mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +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
@@ -1,32 +1,32 @@
|
||||
@lombok.experimental.SuperBuilder class SuperBuilderWithPrefixes {
|
||||
public static abstract @java.lang.SuppressWarnings("all") class SuperBuilderWithPrefixesBuilder<C extends SuperBuilderWithPrefixes, B extends SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<C, B>> {
|
||||
private @java.lang.SuppressWarnings("all") int field;
|
||||
private @java.lang.SuppressWarnings("all") int otherField;
|
||||
private @java.lang.SuppressWarnings("all") java.util.ArrayList<String> items;
|
||||
public static abstract @java.lang.SuppressWarnings("all") @lombok.Generated class SuperBuilderWithPrefixesBuilder<C extends SuperBuilderWithPrefixes, B extends SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<C, B>> {
|
||||
private @java.lang.SuppressWarnings("all") @lombok.Generated int field;
|
||||
private @java.lang.SuppressWarnings("all") @lombok.Generated int otherField;
|
||||
private @java.lang.SuppressWarnings("all") @lombok.Generated java.util.ArrayList<String> items;
|
||||
public SuperBuilderWithPrefixesBuilder() {
|
||||
super();
|
||||
}
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
public @java.lang.SuppressWarnings("all") B field(final int field) {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated B field(final int field) {
|
||||
this.field = field;
|
||||
return self();
|
||||
}
|
||||
/**
|
||||
* @return {@code this}.
|
||||
*/
|
||||
public @java.lang.SuppressWarnings("all") B otherField(final int otherField) {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated B otherField(final int otherField) {
|
||||
this.otherField = otherField;
|
||||
return self();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") B item(final String item) {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated B item(final String item) {
|
||||
if ((this.items == null))
|
||||
this.items = new java.util.ArrayList<String>();
|
||||
this.items.add(item);
|
||||
return self();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") B items(final java.util.Collection<? extends String> items) {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated B items(final java.util.Collection<? extends String> items) {
|
||||
if ((items == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("items cannot be null");
|
||||
@@ -36,32 +36,32 @@
|
||||
this.items.addAll(items);
|
||||
return self();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") B clearItems() {
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated B clearItems() {
|
||||
if ((this.items != null))
|
||||
this.items.clear();
|
||||
return self();
|
||||
}
|
||||
protected abstract @java.lang.SuppressWarnings("all") B self();
|
||||
public abstract @java.lang.SuppressWarnings("all") C build();
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
protected abstract @java.lang.SuppressWarnings("all") @lombok.Generated B self();
|
||||
public abstract @java.lang.SuppressWarnings("all") @lombok.Generated C build();
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated java.lang.String toString() {
|
||||
return (((((("SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder(field=" + this.field) + ", otherField=") + this.otherField) + ", items=") + this.items) + ")");
|
||||
}
|
||||
}
|
||||
private static final @java.lang.SuppressWarnings("all") class SuperBuilderWithPrefixesBuilderImpl extends SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<SuperBuilderWithPrefixes, SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl> {
|
||||
private static final @java.lang.SuppressWarnings("all") @lombok.Generated class SuperBuilderWithPrefixesBuilderImpl extends SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<SuperBuilderWithPrefixes, SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl> {
|
||||
private SuperBuilderWithPrefixesBuilderImpl() {
|
||||
super();
|
||||
}
|
||||
protected @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl self() {
|
||||
protected @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl self() {
|
||||
return this;
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes build() {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @lombok.Generated SuperBuilderWithPrefixes build() {
|
||||
return new SuperBuilderWithPrefixes(this);
|
||||
}
|
||||
}
|
||||
int mField;
|
||||
int xOtherField;
|
||||
@lombok.Singular java.util.List<String> mItems;
|
||||
protected @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes(final SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> b) {
|
||||
protected @java.lang.SuppressWarnings("all") @lombok.Generated SuperBuilderWithPrefixes(final SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> b) {
|
||||
super();
|
||||
this.mField = b.field;
|
||||
this.xOtherField = b.otherField;
|
||||
@@ -78,7 +78,7 @@
|
||||
}
|
||||
this.mItems = items;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> builder() {
|
||||
public static @java.lang.SuppressWarnings("all") @lombok.Generated SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> builder() {
|
||||
return new SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user