diff options
author | Jan Rieke <it@janrieke.de> | 2018-09-11 21:39:10 +0200 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2018-09-11 21:39:10 +0200 |
commit | ddd42acb599d45c432a200313a0f403a8a2a3928 (patch) | |
tree | 1fbf00d54ca787d91e169046a1888e7028e19d45 /test/transform/resource/before | |
parent | a2b884c71194c780d37ccbd84561abd6a0f63741 (diff) | |
download | lombok-ddd42acb599d45c432a200313a0f403a8a2a3928.tar.gz lombok-ddd42acb599d45c432a200313a0f403a8a2a3928.tar.bz2 lombok-ddd42acb599d45c432a200313a0f403a8a2a3928.zip |
adjusted toBuilder tests to cover private variables (impl not yet done)
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/SuperBuilderBasicToBuilder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/before/SuperBuilderBasicToBuilder.java b/test/transform/resource/before/SuperBuilderBasicToBuilder.java index 4dfac613..93161443 100644 --- a/test/transform/resource/before/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/before/SuperBuilderBasicToBuilder.java @@ -3,7 +3,7 @@ import java.util.List; public class SuperBuilderBasicToBuilder { @lombok.experimental.SuperBuilder(toBuilder=true) public static class Parent { - int field1; + private int field1; @lombok.Builder.ObtainVia(field="field1") int obtainViaField; @lombok.Builder.ObtainVia(method="method") @@ -12,7 +12,7 @@ public class SuperBuilderBasicToBuilder { String obtainViaStaticMethod; @lombok.Singular List<String> items; - int method() { + private int method() { return 2; } @@ -23,7 +23,7 @@ public class SuperBuilderBasicToBuilder { @lombok.experimental.SuperBuilder(toBuilder=true) public static class Child extends Parent { - double field3; + private double field3; } public static void test() { |