From 32edc18b0e1509842ca52f3ca5b6fb4344b2b14e Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 10 Feb 2015 23:00:29 +0100 Subject: updates tests to reflect that fields in builders now get gen/suppress annotations. --- .../after-delombok/BuilderChainAndFluent.java | 2 ++ .../resource/after-delombok/BuilderComplex.java | 8 ++++++++ .../resource/after-delombok/BuilderSimple.java | 4 ++++ .../BuilderSingularGuavaListsSets.java | 8 ++++++++ .../after-delombok/BuilderSingularGuavaMaps.java | 6 ++++++ .../after-delombok/BuilderSingularLists.java | 6 ++++++ .../after-delombok/BuilderSingularMaps.java | 8 ++++++++ .../BuilderSingularNoAutosingularize.java | 6 ++++++ .../BuilderSingularRedirectToGuava.java | 6 ++++++ .../after-delombok/BuilderSingularSets.java | 8 ++++++++ .../after-delombok/BuilderWithAccessors.java | 24 ++++++++-------------- .../BuilderWithExistingBuilderClass.java | 4 ++++ .../resource/after-ecj/BuilderChainAndFluent.java | 2 +- .../resource/after-ecj/BuilderComplex.java | 8 ++++---- .../resource/after-ecj/BuilderSimple.java | 4 ++-- .../after-ecj/BuilderSingularGuavaListsSets.java | 8 ++++---- .../after-ecj/BuilderSingularGuavaMaps.java | 6 +++--- .../resource/after-ecj/BuilderSingularLists.java | 6 +++--- .../resource/after-ecj/BuilderSingularMaps.java | 16 +++++++-------- .../BuilderSingularNoAutosingularize.java | 6 +++--- .../after-ecj/BuilderSingularRedirectToGuava.java | 6 +++--- .../resource/after-ecj/BuilderSingularSets.java | 8 ++++---- .../resource/after-ecj/BuilderWithAccessors.java | 8 ++++---- .../after-ecj/BuilderWithExistingBuilderClass.java | 4 ++-- 24 files changed, 115 insertions(+), 57 deletions(-) (limited to 'test/transform/resource') diff --git a/test/transform/resource/after-delombok/BuilderChainAndFluent.java b/test/transform/resource/after-delombok/BuilderChainAndFluent.java index 244df7db..dd3a347a 100644 --- a/test/transform/resource/after-delombok/BuilderChainAndFluent.java +++ b/test/transform/resource/after-delombok/BuilderChainAndFluent.java @@ -8,6 +8,8 @@ class BuilderChainAndFluent { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderChainAndFluentBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int yes; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderComplex.java b/test/transform/resource/after-delombok/BuilderComplex.java index 21ff89cb..76e0add1 100644 --- a/test/transform/resource/after-delombok/BuilderComplex.java +++ b/test/transform/resource/after-delombok/BuilderComplex.java @@ -5,9 +5,17 @@ class BuilderComplex { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class VoidBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private T number; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int arg2; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private String arg3; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private BuilderComplex selfRef; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSimple.java b/test/transform/resource/after-delombok/BuilderSimple.java index f1b6b3bc..a12ad047 100644 --- a/test/transform/resource/after-delombok/BuilderSimple.java +++ b/test/transform/resource/after-delombok/BuilderSimple.java @@ -13,7 +13,11 @@ class BuilderSimple { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSimpleBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int yes; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private List also; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java index 21659de1..f8e0579d 100644 --- a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java +++ b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java @@ -19,9 +19,17 @@ class BuilderSingularGuavaListsSets { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularGuavaListsSetsBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableList.Builder cards; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableList.Builder frogs; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableSet.Builder rawSet; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableSortedSet.Builder passes; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java index fe5c65d2..0cb0001b 100644 --- a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java +++ b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java @@ -16,8 +16,14 @@ class BuilderSingularGuavaMaps { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularGuavaMapsBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableMap.Builder battleaxes; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableSortedMap.Builder vertices; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableBiMap.Builder rawMap; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularLists.java b/test/transform/resource/after-delombok/BuilderSingularLists.java index d33b8674..f58934d4 100644 --- a/test/transform/resource/after-delombok/BuilderSingularLists.java +++ b/test/transform/resource/after-delombok/BuilderSingularLists.java @@ -15,8 +15,14 @@ class BuilderSingularLists { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularListsBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList children; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList scarves; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList rawList; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularMaps.java b/test/transform/resource/after-delombok/BuilderSingularMaps.java index 753abfec..212ece26 100644 --- a/test/transform/resource/after-delombok/BuilderSingularMaps.java +++ b/test/transform/resource/after-delombok/BuilderSingularMaps.java @@ -15,13 +15,21 @@ class BuilderSingularMaps { } @SuppressWarnings("all") public static class BuilderSingularMapsBuilder { + @SuppressWarnings("all") private java.util.ArrayList women$key; + @SuppressWarnings("all") private java.util.ArrayList women$value; + @SuppressWarnings("all") private java.util.ArrayList men$key; + @SuppressWarnings("all") private java.util.ArrayList men$value; + @SuppressWarnings("all") private java.util.ArrayList rawMap$key; + @SuppressWarnings("all") private java.util.ArrayList rawMap$value; + @SuppressWarnings("all") private java.util.ArrayList stringMap$key; + @SuppressWarnings("all") private java.util.ArrayList stringMap$value; @SuppressWarnings("all") BuilderSingularMapsBuilder() { diff --git a/test/transform/resource/after-delombok/BuilderSingularNoAutosingularize.java b/test/transform/resource/after-delombok/BuilderSingularNoAutosingularize.java index ca985275..8a1d4ef2 100644 --- a/test/transform/resource/after-delombok/BuilderSingularNoAutosingularize.java +++ b/test/transform/resource/after-delombok/BuilderSingularNoAutosingularize.java @@ -13,8 +13,14 @@ class BuilderSingularNoAutosingularize { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularNoAutosingularizeBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList things; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList widgets; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList items; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java b/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java index 27ed2535..0dd40c9f 100644 --- a/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java +++ b/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java @@ -15,8 +15,14 @@ class BuilderSingularRedirectToGuava { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularRedirectToGuavaBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableSet.Builder dangerMice; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableSortedMap.Builder things; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private com.google.common.collect.ImmutableList.Builder> doohickeys; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderSingularSets.java b/test/transform/resource/after-delombok/BuilderSingularSets.java index 8e410897..70372b99 100644 --- a/test/transform/resource/after-delombok/BuilderSingularSets.java +++ b/test/transform/resource/after-delombok/BuilderSingularSets.java @@ -17,9 +17,17 @@ class BuilderSingularSets { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderSingularSetsBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList dangerMice; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList octopodes; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList rawSet; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private java.util.ArrayList stringSet; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") diff --git a/test/transform/resource/after-delombok/BuilderWithAccessors.java b/test/transform/resource/after-delombok/BuilderWithAccessors.java index 74914453..df02c1f1 100644 --- a/test/transform/resource/after-delombok/BuilderWithAccessors.java +++ b/test/transform/resource/after-delombok/BuilderWithAccessors.java @@ -14,57 +14,51 @@ class BuilderWithAccessors { @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public static class BuilderWithAccessorsBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int plower; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int upper; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int foo; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private int _bar; - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") BuilderWithAccessorsBuilder() { - } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public BuilderWithAccessorsBuilder plower(final int plower) { this.plower = plower; return this; } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public BuilderWithAccessorsBuilder upper(final int upper) { this.upper = upper; return this; } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public BuilderWithAccessorsBuilder foo(final int foo) { this.foo = foo; return this; } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public BuilderWithAccessorsBuilder _bar(final int _bar) { this._bar = _bar; return this; } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public BuilderWithAccessors build() { return new BuilderWithAccessors(plower, upper, foo, _bar); } - @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") @@ -72,9 +66,7 @@ class BuilderWithAccessors { return "BuilderWithAccessors.BuilderWithAccessorsBuilder(plower=" + this.plower + ", upper=" + this.upper + ", foo=" + this.foo + ", _bar=" + this._bar + ")"; } } - @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public static BuilderWithAccessorsBuilder builder() { return new BuilderWithAccessorsBuilder(); diff --git a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java index 38d0eb2c..fc1cdbb3 100644 --- a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java +++ b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java @@ -3,7 +3,11 @@ class BuilderWithExistingBuilderClass { return null; } public static class BuilderWithExistingBuilderClassBuilder { + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private boolean arg2; + @java.lang.SuppressWarnings("all") + @javax.annotation.Generated("lombok") private String arg3; private Z arg1; public void arg2(boolean arg) { diff --git a/test/transform/resource/after-ecj/BuilderChainAndFluent.java b/test/transform/resource/after-ecj/BuilderChainAndFluent.java index 888c6239..1554cf44 100644 --- a/test/transform/resource/after-ecj/BuilderChainAndFluent.java +++ b/test/transform/resource/after-ecj/BuilderChainAndFluent.java @@ -1,6 +1,6 @@ @lombok.experimental.Builder(fluent = false,chain = false) class BuilderChainAndFluent { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderChainAndFluentBuilder { - private int yes; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int yes; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderChainAndFluentBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderComplex.java b/test/transform/resource/after-ecj/BuilderComplex.java index d7546879..c63ad8e6 100644 --- a/test/transform/resource/after-ecj/BuilderComplex.java +++ b/test/transform/resource/after-ecj/BuilderComplex.java @@ -2,10 +2,10 @@ import java.util.List; import lombok.experimental.Builder; class BuilderComplex { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class VoidBuilder { - private T number; - private int arg2; - private String arg3; - private BuilderComplex selfRef; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") T number; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int arg2; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") String arg3; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderComplex selfRef; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") VoidBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSimple.java b/test/transform/resource/after-ecj/BuilderSimple.java index 41240a94..c2b4fe87 100644 --- a/test/transform/resource/after-ecj/BuilderSimple.java +++ b/test/transform/resource/after-ecj/BuilderSimple.java @@ -1,8 +1,8 @@ import java.util.List; @lombok.experimental.Builder class BuilderSimple { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSimpleBuilder { - private int yes; - private List also; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int yes; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") List also; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSimpleBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java b/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java index 0a04da34..e7aa7835 100644 --- a/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java +++ b/test/transform/resource/after-ecj/BuilderSingularGuavaListsSets.java @@ -5,10 +5,10 @@ import com.google.common.collect.ImmutableSortedSet; import lombok.Singular; @lombok.Builder class BuilderSingularGuavaListsSets { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularGuavaListsSetsBuilder { - private com.google.common.collect.ImmutableList.Builder cards; - private com.google.common.collect.ImmutableList.Builder frogs; - private com.google.common.collect.ImmutableSet.Builder rawSet; - private com.google.common.collect.ImmutableSortedSet.Builder passes; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableList.Builder cards; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableList.Builder frogs; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableSet.Builder rawSet; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableSortedSet.Builder passes; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaListsSetsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java b/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java index 3696c794..d4dfc18a 100644 --- a/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java +++ b/test/transform/resource/after-ecj/BuilderSingularGuavaMaps.java @@ -4,9 +4,9 @@ import com.google.common.collect.ImmutableSortedMap; import lombok.Singular; @lombok.Builder class BuilderSingularGuavaMaps { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularGuavaMapsBuilder { - private com.google.common.collect.ImmutableMap.Builder battleaxes; - private com.google.common.collect.ImmutableSortedMap.Builder vertices; - private com.google.common.collect.ImmutableBiMap.Builder rawMap; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableMap.Builder battleaxes; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableSortedMap.Builder vertices; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableBiMap.Builder rawMap; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularGuavaMapsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularLists.java b/test/transform/resource/after-ecj/BuilderSingularLists.java index bbba29f4..c66fcf1b 100644 --- a/test/transform/resource/after-ecj/BuilderSingularLists.java +++ b/test/transform/resource/after-ecj/BuilderSingularLists.java @@ -4,9 +4,9 @@ import java.util.Collection; import lombok.Singular; @lombok.Builder class BuilderSingularLists { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularListsBuilder { - private java.util.ArrayList children; - private java.util.ArrayList scarves; - private java.util.ArrayList rawList; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList children; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList scarves; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList rawList; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularListsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularMaps.java b/test/transform/resource/after-ecj/BuilderSingularMaps.java index c439cd2a..8a2e14eb 100644 --- a/test/transform/resource/after-ecj/BuilderSingularMaps.java +++ b/test/transform/resource/after-ecj/BuilderSingularMaps.java @@ -3,14 +3,14 @@ import java.util.SortedMap; import lombok.Singular; @lombok.Builder class BuilderSingularMaps { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularMapsBuilder { - private java.util.ArrayList women$key; - private java.util.ArrayList women$value; - private java.util.ArrayList men$key; - private java.util.ArrayList men$value; - private java.util.ArrayList rawMap$key; - private java.util.ArrayList rawMap$value; - private java.util.ArrayList stringMap$key; - private java.util.ArrayList stringMap$value; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList women$key; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList women$value; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList men$key; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList men$value; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList rawMap$key; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList rawMap$value; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList stringMap$key; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList stringMap$value; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularMapsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularNoAutosingularize.java b/test/transform/resource/after-ecj/BuilderSingularNoAutosingularize.java index 47d91593..0e0594e4 100644 --- a/test/transform/resource/after-ecj/BuilderSingularNoAutosingularize.java +++ b/test/transform/resource/after-ecj/BuilderSingularNoAutosingularize.java @@ -2,9 +2,9 @@ import java.util.List; import lombok.Singular; @lombok.Builder class BuilderSingularNoAutosingularize { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularNoAutosingularizeBuilder { - private java.util.ArrayList things; - private java.util.ArrayList widgets; - private java.util.ArrayList items; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList things; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList widgets; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList items; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularNoAutosingularizeBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularRedirectToGuava.java b/test/transform/resource/after-ecj/BuilderSingularRedirectToGuava.java index 01ccecb4..6e18d8ee 100644 --- a/test/transform/resource/after-ecj/BuilderSingularRedirectToGuava.java +++ b/test/transform/resource/after-ecj/BuilderSingularRedirectToGuava.java @@ -4,9 +4,9 @@ import java.util.Collection; import lombok.Singular; @lombok.Builder class BuilderSingularRedirectToGuava { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularRedirectToGuavaBuilder { - private com.google.common.collect.ImmutableSet.Builder dangerMice; - private com.google.common.collect.ImmutableSortedMap.Builder things; - private com.google.common.collect.ImmutableList.Builder> doohickeys; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableSet.Builder dangerMice; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableSortedMap.Builder things; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") com.google.common.collect.ImmutableList.Builder> doohickeys; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularRedirectToGuavaBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderSingularSets.java b/test/transform/resource/after-ecj/BuilderSingularSets.java index 749d8439..819de534 100644 --- a/test/transform/resource/after-ecj/BuilderSingularSets.java +++ b/test/transform/resource/after-ecj/BuilderSingularSets.java @@ -3,10 +3,10 @@ import java.util.SortedSet; import lombok.Singular; @lombok.Builder class BuilderSingularSets { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderSingularSetsBuilder { - private java.util.ArrayList dangerMice; - private java.util.ArrayList octopodes; - private java.util.ArrayList rawSet; - private java.util.ArrayList stringSet; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList dangerMice; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList octopodes; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList rawSet; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.util.ArrayList stringSet; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderSingularSetsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderWithAccessors.java b/test/transform/resource/after-ecj/BuilderWithAccessors.java index b90ba937..4221ea7c 100644 --- a/test/transform/resource/after-ecj/BuilderWithAccessors.java +++ b/test/transform/resource/after-ecj/BuilderWithAccessors.java @@ -1,9 +1,9 @@ @lombok.experimental.Builder @lombok.experimental.Accessors(prefix = {"p", "_"}) class BuilderWithAccessors { public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") class BuilderWithAccessorsBuilder { - private int plower; - private int upper; - private int foo; - private int _bar; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int plower; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int upper; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int foo; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int _bar; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithAccessorsBuilder() { super(); } diff --git a/test/transform/resource/after-ecj/BuilderWithExistingBuilderClass.java b/test/transform/resource/after-ecj/BuilderWithExistingBuilderClass.java index 9ddbda7b..1c23e0ee 100644 --- a/test/transform/resource/after-ecj/BuilderWithExistingBuilderClass.java +++ b/test/transform/resource/after-ecj/BuilderWithExistingBuilderClass.java @@ -1,8 +1,8 @@ import lombok.Builder; class BuilderWithExistingBuilderClass { public static class BuilderWithExistingBuilderClassBuilder { - private boolean arg2; - private String arg3; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean arg2; + private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") String arg3; private Z arg1; public void arg2(boolean arg) { } -- cgit