[fixes #2083] adds feature ‘access level’ to @Builder

This commit is contained in:
Reinier Zwitserloot committed 2019-05-01 00:41:32 +02:00
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>();
}
}