mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 06:14:27 +00:00
[fixes #2083] adds feature ‘access level’ to @Builder
This commit is contained in:
1 parent
ec04d9d7f0
commit
a318029830
19 files changed
+201
-167
No files matched your search
@@ -10,7 +10,7 @@ class BuilderSimple<T> {
|
||||
this.also = also;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public static class BuilderSimpleBuilder<T> {
|
||||
protected static class BuilderSimpleBuilder<T> {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private int yes;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@@ -39,7 +39,7 @@ class BuilderSimple<T> {
|
||||
}
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public static <T> BuilderSimpleBuilder<T> builder() {
|
||||
protected static <T> BuilderSimpleBuilder<T> builder() {
|
||||
return new BuilderSimpleBuilder<T>();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user