mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 12:15:00 +00:00
[fixes #1443] Handle field initializer in diet mode
This commit is contained in:
1 parent
00893744eb
commit
b6dd48a042
21 files changed
+553
-75
No files matched your search
@@ -0,0 +1,15 @@
|
||||
//eclipse: verify diet
|
||||
import lombok.SneakyThrows;
|
||||
|
||||
public class SneakyThrowsInInitializer {
|
||||
|
||||
public static final Runnable R = new Runnable() {
|
||||
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void run() {
|
||||
System.out.println("test");
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user