aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SneakyThrowsPlain.java
diff options
context:
space:
mode:
authorPhilipp Eichhorn <peichhor@web.de>2012-06-24 20:38:00 +0200
committerPhilipp Eichhorn <peichhor@web.de>2012-06-24 20:38:00 +0200
commit8fb4f79757547378c7d8c29759d04037bdd47c7e (patch)
treefd41fdd53f79aeca77b93463eca9fb357c642b7a /test/transform/resource/before/SneakyThrowsPlain.java
parent3ed67fc8aecf50757d85bdfb55075015c6627740 (diff)
downloadlombok-8fb4f79757547378c7d8c29759d04037bdd47c7e.tar.gz
lombok-8fb4f79757547378c7d8c29759d04037bdd47c7e.tar.bz2
lombok-8fb4f79757547378c7d8c29759d04037bdd47c7e.zip
[Issue 381] @SneakyThrows respects constructor calls
Diffstat (limited to 'test/transform/resource/before/SneakyThrowsPlain.java')
-rw-r--r--test/transform/resource/before/SneakyThrowsPlain.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/resource/before/SneakyThrowsPlain.java b/test/transform/resource/before/SneakyThrowsPlain.java
index 97fecf8f..261e1b53 100644
--- a/test/transform/resource/before/SneakyThrowsPlain.java
+++ b/test/transform/resource/before/SneakyThrowsPlain.java
@@ -1,5 +1,10 @@
import lombok.SneakyThrows;
class SneakyThrowsPlain {
+ @lombok.SneakyThrows SneakyThrowsPlain() {
+ super();
+ System.out.println("constructor");
+ }
+
@lombok.SneakyThrows public void test() {
System.out.println("test1");
}