diff options
Diffstat (limited to 'test/transform/resource/after-ecj/CleanupName.java')
-rw-r--r-- | test/transform/resource/after-ecj/CleanupName.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/CleanupName.java b/test/transform/resource/after-ecj/CleanupName.java new file mode 100644 index 00000000..944a81e1 --- /dev/null +++ b/test/transform/resource/after-ecj/CleanupName.java @@ -0,0 +1,27 @@ +class CleanupName { + CleanupName() { + super(); + } + void test() { + @lombok.Cleanup("toString") Object o = "Hello World!"; + try + { + System.out.println(o); + } + finally + { + o.toString(); + } + } + void test2() { + @lombok.Cleanup(value = "toString") Object o = "Hello World too!"; + try + { + System.out.println(o); + } + finally + { + o.toString(); + } + } +}
\ No newline at end of file |