aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SneakyThrowsPlain.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 23:52:28 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 23:52:28 +0200
commit59e585a0c68959eb72be34524bdad19df5dc8a4d (patch)
tree72860f9fce0a62bb1d0e8dbe3a021f4bd8f20ab4 /test/transform/resource/after-delombok/SneakyThrowsPlain.java
parent1a9f8f168aa17f77c6e27d0a740b5f7614fb5c90 (diff)
downloadlombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.gz
lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.bz2
lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.zip
refactored the tests to prepare running ecj as well as delombok.
Diffstat (limited to 'test/transform/resource/after-delombok/SneakyThrowsPlain.java')
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsPlain.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SneakyThrowsPlain.java b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
new file mode 100644
index 00000000..d5abc478
--- /dev/null
+++ b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
@@ -0,0 +1,17 @@
+class SneakyThrowsPlain {
+ public void test() {
+ try {
+ System.out.println("test1");
+ } catch (java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
+
+ public void test2() {
+ try {
+ System.out.println("test2");
+ } catch (java.lang.Throwable $ex) {
+ throw lombok.Lombok.sneakyThrow($ex);
+ }
+ }
+} \ No newline at end of file