aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/BuilderChainAndFluent.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderComplex.java8
-rw-r--r--test/transform/resource/after-delombok/BuilderSimple.java4
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java8
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularLists.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularMaps.java8
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularNoAutosingularize.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularSets.java8
-rw-r--r--test/transform/resource/after-delombok/BuilderWithAccessors.java24
-rw-r--r--test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java4
12 files changed, 74 insertions, 16 deletions
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<T extends Number> {
+ @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<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class BuilderSimpleBuilder<T> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private int yes;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private List<T> 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<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class BuilderSingularGuavaListsSetsBuilder<T> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableList.Builder<T> cards;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableList.Builder<Number> frogs;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableSet.Builder<java.lang.Object> rawSet;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableSortedSet.Builder<String> 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<K, V> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class BuilderSingularGuavaMapsBuilder<K, V> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableMap.Builder<K, V> battleaxes;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableSortedMap.Builder<Integer, V> vertices;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableBiMap.Builder<java.lang.Object, java.lang.Object> 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<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class BuilderSingularListsBuilder<T> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<T> children;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<Number> scarves;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<java.lang.Object> 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<K, V> {
}
@SuppressWarnings("all")
public static class BuilderSingularMapsBuilder<K, V> {
+ @SuppressWarnings("all")
private java.util.ArrayList<K> women$key;
+ @SuppressWarnings("all")
private java.util.ArrayList<V> women$value;
+ @SuppressWarnings("all")
private java.util.ArrayList<K> men$key;
+ @SuppressWarnings("all")
private java.util.ArrayList<Number> men$value;
+ @SuppressWarnings("all")
private java.util.ArrayList<Object> rawMap$key;
+ @SuppressWarnings("all")
private java.util.ArrayList<Object> rawMap$value;
+ @SuppressWarnings("all")
private java.util.ArrayList<String> stringMap$key;
+ @SuppressWarnings("all")
private java.util.ArrayList<V> 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<String> things;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<String> widgets;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<String> 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<String> dangerMice;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableSortedMap.Builder<Integer, Number> things;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private com.google.common.collect.ImmutableList.Builder<Class<?>> 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<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class BuilderSingularSetsBuilder<T> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<T> dangerMice;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<Number> octopodes;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<java.lang.Object> rawSet;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private java.util.ArrayList<String> 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<T, K extends Number> {
return null;
}
public static class BuilderWithExistingBuilderClassBuilder<Z extends Number> {
+ @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) {