diff options
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/SneakyThrowsPlain.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/SneakyThrowsPlain.java b/test/transform/resource/after-ecj/SneakyThrowsPlain.java index 6e75a75c..56016b5a 100644 --- a/test/transform/resource/after-ecj/SneakyThrowsPlain.java +++ b/test/transform/resource/after-ecj/SneakyThrowsPlain.java @@ -1,7 +1,14 @@ import lombok.SneakyThrows; class SneakyThrowsPlain { - SneakyThrowsPlain() { + @lombok.SneakyThrows SneakyThrowsPlain() { super(); + try + { + System.out.println("constructor"); + } + catch (final java.lang.Throwable $ex) { + throw lombok.Lombok.sneakyThrow($ex); + } } public @lombok.SneakyThrows void test() { try |