mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-17 02:14:16 +00:00
[fixes #2268] make lombok generate qualified types in order to avoid name clashes.
This commit is contained in:
166 files changed
+1451
-3425
No files matched your search
@@ -1,5 +1,5 @@
|
||||
@lombok.experimental.SuperBuilder class SuperBuilderWithPrefixes {
|
||||
public static abstract @java.lang.SuppressWarnings("all") class SuperBuilderWithPrefixesBuilder<C extends SuperBuilderWithPrefixes, B extends SuperBuilderWithPrefixesBuilder<C, B>> {
|
||||
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;
|
||||
@@ -37,11 +37,11 @@
|
||||
return (((((("SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder(field=" + this.field) + ", otherField=") + this.otherField) + ", items=") + this.items) + ")");
|
||||
}
|
||||
}
|
||||
private static final @java.lang.SuppressWarnings("all") class SuperBuilderWithPrefixesBuilderImpl extends SuperBuilderWithPrefixesBuilder<SuperBuilderWithPrefixes, SuperBuilderWithPrefixesBuilderImpl> {
|
||||
private static final @java.lang.SuppressWarnings("all") class SuperBuilderWithPrefixesBuilderImpl extends SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<SuperBuilderWithPrefixes, SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl> {
|
||||
private SuperBuilderWithPrefixesBuilderImpl() {
|
||||
super();
|
||||
}
|
||||
protected @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixesBuilderImpl self() {
|
||||
protected @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl self() {
|
||||
return this;
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes build() {
|
||||
@@ -51,7 +51,7 @@
|
||||
int mField;
|
||||
int xOtherField;
|
||||
@lombok.Singular java.util.List<String> mItems;
|
||||
protected @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes(final SuperBuilderWithPrefixesBuilder<?, ?> b) {
|
||||
protected @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes(final SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> b) {
|
||||
super();
|
||||
this.mField = b.field;
|
||||
this.xOtherField = b.otherField;
|
||||
@@ -68,7 +68,7 @@
|
||||
}
|
||||
this.mItems = items;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixesBuilder<?, ?> builder() {
|
||||
return new SuperBuilderWithPrefixesBuilderImpl();
|
||||
public static @java.lang.SuppressWarnings("all") SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilder<?, ?> builder() {
|
||||
return new SuperBuilderWithPrefixes.SuperBuilderWithPrefixesBuilderImpl();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user