aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SneakyThrowsPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/SneakyThrowsPlain.java')
-rw-r--r--test/transform/resource/after-ecj/SneakyThrowsPlain.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/SneakyThrowsPlain.java b/test/transform/resource/after-ecj/SneakyThrowsPlain.java
new file mode 100644
index 00000000..6e75a75c
--- /dev/null
+++ b/test/transform/resource/after-ecj/SneakyThrowsPlain.java
@@ -0,0 +1,24 @@
+import lombok.SneakyThrows;
+class SneakyThrowsPlain {
+ SneakyThrowsPlain() {
+ super();
+ }
+ public @lombok.SneakyThrows void test() {
+ try
+ {
+ System.out.println("test1");
+ }
+ catch (final java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
+ public @SneakyThrows void test2() {
+ try
+ {
+ System.out.println("test2");
+ }
+ catch (final java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
+}