mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 02:17:52 +00:00
new versions for docker
This commit is contained in:
1 parent
2095244667
commit
a4345d1145
45 files changed
+354
-68
No files matched your search
@@ -0,0 +1,4 @@
|
||||
lombok.addJavaxGeneratedAnnotation = false
|
||||
lombok.anyConstructor.suppressConstructorProperties = true
|
||||
|
||||
config.stopBubbling = true
|
||||
@@ -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