aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-08-16 02:42:43 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-08-16 02:42:43 +0200
commit62877ecdb2e5e13a2eb7b67db5292cd13b20cc39 (patch)
treef17bcf43f047845b4fa138929f227129a62819ee /test
parent059d2b5304514d0ae24dd3444826d2afc315c60f (diff)
parentfd1d18a29957fc1999b7dd5725641662ad3bd887 (diff)
downloadlombok-62877ecdb2e5e13a2eb7b67db5292cd13b20cc39.tar.gz
lombok-62877ecdb2e5e13a2eb7b67db5292cd13b20cc39.tar.bz2
lombok-62877ecdb2e5e13a2eb7b67db5292cd13b20cc39.zip
Merge branch 'force'
Conflicts: doc/changelog.markdown src/core/lombok/eclipse/handlers/HandleBuilder.java
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-delombok/Constructors.java19
-rw-r--r--test/transform/resource/after-ecj/Constructors.java18
-rw-r--r--test/transform/resource/before/Constructors.java11
3 files changed, 47 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/Constructors.java b/test/transform/resource/after-delombok/Constructors.java
index 466ae9ee..c138a00c 100644
--- a/test/transform/resource/after-delombok/Constructors.java
+++ b/test/transform/resource/after-delombok/Constructors.java
@@ -98,3 +98,22 @@ class AllArgsConstructorPackageAccess {
this.x = x;
}
}
+class NoArgsConstructor2 {
+ final int x;
+ final double y;
+ final char c;
+ final boolean b;
+ final float f;
+ final String s;
+ byte z;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public NoArgsConstructor2() {
+ this.x = 0;
+ this.y = 0.0;
+ this.c = '\000';
+ this.b = false;
+ this.f = 0.0F;
+ this.s = null;
+ }
+}
diff --git a/test/transform/resource/after-ecj/Constructors.java b/test/transform/resource/after-ecj/Constructors.java
index 998872a2..4cc24a81 100644
--- a/test/transform/resource/after-ecj/Constructors.java
+++ b/test/transform/resource/after-ecj/Constructors.java
@@ -77,4 +77,22 @@
super();
this.x = x;
}
+}
+@lombok.NoArgsConstructor(force = true) class NoArgsConstructor2 {
+ final int x;
+ final double y;
+ final char c;
+ final boolean b;
+ final float f;
+ final String s;
+ byte z;
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") NoArgsConstructor2() {
+ super();
+ this.x = 0;
+ this.y = 0D;
+ this.c = '\0';
+ this.b = false;
+ this.f = 0F;
+ this.s = null;
+ }
} \ No newline at end of file
diff --git a/test/transform/resource/before/Constructors.java b/test/transform/resource/before/Constructors.java
index c80acf2b..3569986f 100644
--- a/test/transform/resource/before/Constructors.java
+++ b/test/transform/resource/before/Constructors.java
@@ -32,4 +32,13 @@
}
@lombok.AllArgsConstructor(access=lombok.AccessLevel.PACKAGE) class AllArgsConstructorPackageAccess {
final String x;
-} \ No newline at end of file
+}
+@lombok.NoArgsConstructor(force = true) class NoArgsConstructor2 {
+ final int x;
+ final double y;
+ final char c;
+ final boolean b;
+ final float f;
+ final String s;
+ byte z;
+}