diff options
Diffstat (limited to 'test/transform/resource/after-ecj/SneakyThrowsPlain.java')
-rw-r--r-- | test/transform/resource/after-ecj/SneakyThrowsPlain.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/SneakyThrowsPlain.java b/test/transform/resource/after-ecj/SneakyThrowsPlain.java index 56016b5a..1b45dc5a 100644 --- a/test/transform/resource/after-ecj/SneakyThrowsPlain.java +++ b/test/transform/resource/after-ecj/SneakyThrowsPlain.java @@ -10,6 +10,16 @@ class SneakyThrowsPlain { throw lombok.Lombok.sneakyThrow($ex); } } + @lombok.SneakyThrows SneakyThrowsPlain(int x) { + this(); + try + { + System.out.println("constructor2"); + } + catch (final java.lang.Throwable $ex) { + throw lombok.Lombok.sneakyThrow($ex); + } + } public @lombok.SneakyThrows void test() { try { |