diff options
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/BuilderDefaultsWarnings.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderDefaultsWarnings.java b/test/transform/resource/before/BuilderDefaultsWarnings.java index a93f0f17..8ef3dc59 100644 --- a/test/transform/resource/before/BuilderDefaultsWarnings.java +++ b/test/transform/resource/before/BuilderDefaultsWarnings.java @@ -1,8 +1,18 @@ import lombok.Builder; +import lombok.Singular; @Builder public class BuilderDefaultsWarnings { long x = System.currentTimeMillis(); final int y = 5; @Builder.Default int z; + @Builder.Default @Singular java.util.List<String> items; +} + +class NoBuilderButHasDefaults { + @Builder.Default private final long z = 5; + + @Builder + public NoBuilderButHasDefaults() { + } } |