[Issue 381] @SneakyThrows respects constructor calls

This commit is contained in:
Philipp Eichhorn committed 2012-06-24 20:38:00 +02:00
1 parent 3ed67fc8ae
commit 8fb4f79757
4 files changed
+37 -4

No files matched your search

@@ -1,5 +1,10 @@
import lombok.SneakyThrows;
class SneakyThrowsPlain {
@lombok.SneakyThrows SneakyThrowsPlain() {
super();
System.out.println("constructor");
}
@lombok.SneakyThrows public void test() {
System.out.println("test1");
}