diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderSimple.java | 4 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/BuilderSimple.java | 6 | ||||
-rw-r--r-- | test/transform/resource/before/BuilderSimple.java | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSimple.java b/test/transform/resource/after-delombok/BuilderSimple.java index e3821c9a..4cd20b23 100644 --- a/test/transform/resource/after-delombok/BuilderSimple.java +++ b/test/transform/resource/after-delombok/BuilderSimple.java @@ -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>(); } } diff --git a/test/transform/resource/after-ecj/BuilderSimple.java b/test/transform/resource/after-ecj/BuilderSimple.java index bc0ff186..9d9fb7f3 100644 --- a/test/transform/resource/after-ecj/BuilderSimple.java +++ b/test/transform/resource/after-ecj/BuilderSimple.java @@ -1,6 +1,6 @@ import java.util.List; -@lombok.Builder class BuilderSimple<T> { - public static @java.lang.SuppressWarnings("all") class BuilderSimpleBuilder<T> { +@lombok.Builder(access = lombok.AccessLevel.PROTECTED) class BuilderSimple<T> { + protected static @java.lang.SuppressWarnings("all") class BuilderSimpleBuilder<T> { private @java.lang.SuppressWarnings("all") int yes; private @java.lang.SuppressWarnings("all") List<T> also; @java.lang.SuppressWarnings("all") BuilderSimpleBuilder() { @@ -30,7 +30,7 @@ import java.util.List; this.yes = yes; this.also = also; } - public static @java.lang.SuppressWarnings("all") <T>BuilderSimpleBuilder<T> builder() { + protected static @java.lang.SuppressWarnings("all") <T>BuilderSimpleBuilder<T> builder() { return new BuilderSimpleBuilder<T>(); } } diff --git a/test/transform/resource/before/BuilderSimple.java b/test/transform/resource/before/BuilderSimple.java index 83c89713..d0a786db 100644 --- a/test/transform/resource/before/BuilderSimple.java +++ b/test/transform/resource/before/BuilderSimple.java @@ -1,6 +1,6 @@ import java.util.List; -@lombok.Builder +@lombok.Builder(access = lombok.AccessLevel.PROTECTED) class BuilderSimple<T> { private final int noshow = 0; private final int yes; |