aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SneakyThrowsPlain.java
diff options
context:
space:
mode:
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 261e1b53..871086b7 100644
--- a/test/transform/resource/before/SneakyThrowsPlain.java
+++ b/test/transform/resource/before/SneakyThrowsPlain.java
@@ -5,6 +5,11 @@ class SneakyThrowsPlain {
System.out.println("constructor");
}
+ @lombok.SneakyThrows SneakyThrowsPlain(int x) {
+ this();
+ System.out.println("constructor2");
+ }
+
@lombok.SneakyThrows public void test() {
System.out.println("test1");
}