mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-09 22:17:39 +00:00
new versions for docker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@lombok.Data
|
||||
public class HelloWorld {
|
||||
private final int answer;
|
||||
|
||||
public static void main(String... args) {
|
||||
System.out.println(new HelloWorld(42).getAnswer());
|
||||
}
|
||||
|
||||
@FunctionalInterface interface Foo {
|
||||
String name();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class SneakyThrowsExample {
|
||||
@lombok.SneakyThrows
|
||||
public static void main(String... args) {
|
||||
throw new java.io.IOException("boo");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user