aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SneakyThrowsPlain.java
diff options
context:
space:
mode:
authorgrootjans <grootjans@gmail.com>2012-07-02 23:22:40 +0200
committergrootjans <grootjans@gmail.com>2012-07-02 23:22:40 +0200
commitc642f8a50cb7863cdf85070722b28b727342be36 (patch)
tree7c22cbd4e76a678e28195f2621526ee587ddc41a /test/transform/resource/after-delombok/SneakyThrowsPlain.java
parent3c0ed22062a83bd6611677ed6625698a769dd4fb (diff)
parenteb22b3fe059486081d2f74afc4e0b80b88411be3 (diff)
downloadlombok-c642f8a50cb7863cdf85070722b28b727342be36.tar.gz
lombok-c642f8a50cb7863cdf85070722b28b727342be36.tar.bz2
lombok-c642f8a50cb7863cdf85070722b28b727342be36.zip
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'test/transform/resource/after-delombok/SneakyThrowsPlain.java')
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsPlain.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/SneakyThrowsPlain.java b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
index 93f734f8..5c0890b5 100644
--- a/test/transform/resource/after-delombok/SneakyThrowsPlain.java
+++ b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
@@ -7,6 +7,14 @@ class SneakyThrowsPlain {
throw lombok.Lombok.sneakyThrow($ex);
}
}
+ SneakyThrowsPlain(int x) {
+ this();
+ try {
+ System.out.println("constructor2");
+ } catch (final java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
public void test() {
try {
System.out.println("test1");
@@ -14,7 +22,6 @@ class SneakyThrowsPlain {
throw lombok.Lombok.sneakyThrow($ex);
}
}
-
public void test2() {
try {
System.out.println("test2");