mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 04:18:44 +00:00
javac builder implementation. Passes all tests.
Added toString() impl for builders in both eclipse and javac. Added all documentation, though it'll need some reviewing.
This commit is contained in:
1 parent
eb3d32c718
commit
e1c39bbc60
18 files changed
+350
-22
No files matched your search
@@ -30,6 +30,11 @@ class BuilderSimple<T> {
|
||||
public BuilderSimple<T> build() {
|
||||
return new BuilderSimple<T>(yes, also);
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public java.lang.String toString() {
|
||||
return "BuilderSimple.BuilderSimpleBuilder(yes=" + this.yes + ", also=" + this.also + ")";
|
||||
}
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public static <T> BuilderSimpleBuilder<T> builder() {
|
||||
|
||||
Reference in new issue
Block a user