mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[Issue 381] @SneakyThrows respects constructor calls
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user