mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
Fix class names in after-ecj
This commit is contained in:
1 parent
36287f2ff9
commit
5b16b48bbf
26 files changed
+474
-454
No files matched your search
+12
-12
@@ -1,28 +1,28 @@
|
||||
import lombok.Singular;
|
||||
@lombok.Builder(setterPrefix = "with") @lombok.experimental.Accessors(prefix = "_") class BuilderSingularWithPrefixes {
|
||||
public static @java.lang.SuppressWarnings("all") class BuilderSingularWithPrefixesBuilder {
|
||||
@lombok.Builder(setterPrefix = "with") @lombok.experimental.Accessors(prefix = "_") class BuilderSingularWithPrefixesWithSetterPrefixes {
|
||||
public static @java.lang.SuppressWarnings("all") class BuilderSingularWithPrefixesWithSetterPrefixesBuilder {
|
||||
private @java.lang.SuppressWarnings("all") java.util.ArrayList<String> elems;
|
||||
@java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesBuilder() {
|
||||
@java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixesBuilder() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesBuilder withElem(final String elem) {
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixesBuilder withElem(final String elem) {
|
||||
if ((this.elems == null))
|
||||
this.elems = new java.util.ArrayList<String>();
|
||||
this.elems.add(elem);
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesBuilder withElems(final java.util.Collection<? extends String> elems) {
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixesBuilder withElems(final java.util.Collection<? extends String> elems) {
|
||||
if ((this.elems == null))
|
||||
this.elems = new java.util.ArrayList<String>();
|
||||
this.elems.addAll(elems);
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesBuilder clearElems() {
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixesBuilder clearElems() {
|
||||
if ((this.elems != null))
|
||||
this.elems.clear();
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixes build() {
|
||||
public @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixes build() {
|
||||
java.util.List<String> elems;
|
||||
switch (((this.elems == null) ? 0 : this.elems.size())) {
|
||||
case 0 :
|
||||
@@ -34,18 +34,18 @@ import lombok.Singular;
|
||||
default :
|
||||
elems = java.util.Collections.unmodifiableList(new java.util.ArrayList<String>(this.elems));
|
||||
}
|
||||
return new BuilderSingularWithPrefixes(elems);
|
||||
return new BuilderSingularWithPrefixesWithSetterPrefixes(elems);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (("BuilderSingularWithPrefixes.BuilderSingularWithPrefixesBuilder(elems=" + this.elems) + ")");
|
||||
return (("BuilderSingularWithPrefixesWithSetterPrefixes.BuilderSingularWithPrefixesWithSetterPrefixesBuilder(elems=" + this.elems) + ")");
|
||||
}
|
||||
}
|
||||
private @Singular java.util.List<String> _elems;
|
||||
@java.lang.SuppressWarnings("all") BuilderSingularWithPrefixes(final java.util.List<String> elems) {
|
||||
@java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixes(final java.util.List<String> elems) {
|
||||
super();
|
||||
this._elems = elems;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesBuilder builder() {
|
||||
return new BuilderSingularWithPrefixesBuilder();
|
||||
public static @java.lang.SuppressWarnings("all") BuilderSingularWithPrefixesWithSetterPrefixesBuilder builder() {
|
||||
return new BuilderSingularWithPrefixesWithSetterPrefixesBuilder();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user