aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SneakyThrowsPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SneakyThrowsPlain.java')
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsPlain.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SneakyThrowsPlain.java b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
index 28c39b40..93f734f8 100644
--- a/test/transform/resource/after-delombok/SneakyThrowsPlain.java
+++ b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
@@ -1,4 +1,12 @@
class SneakyThrowsPlain {
+ SneakyThrowsPlain() {
+ super();
+ try {
+ System.out.println("constructor");
+ } catch (final java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
public void test() {
try {
System.out.println("test1");