aboutsummaryrefslogtreecommitdiff
path: root/docker/shared
diff options
context:
space:
mode:
Diffstat (limited to 'docker/shared')
-rw-r--r--docker/shared/lombok.config4
-rw-r--r--docker/shared/src/main/java/HelloWorld.java13
2 files changed, 17 insertions, 0 deletions
diff --git a/docker/shared/lombok.config b/docker/shared/lombok.config
new file mode 100644
index 00000000..62f16b08
--- /dev/null
+++ b/docker/shared/lombok.config
@@ -0,0 +1,4 @@
+lombok.addJavaxGeneratedAnnotation = false
+lombok.anyConstructor.suppressConstructorProperties = true
+
+config.stopBubbling = true \ No newline at end of file
diff --git a/docker/shared/src/main/java/HelloWorld.java b/docker/shared/src/main/java/HelloWorld.java
new file mode 100644
index 00000000..f4c30218
--- /dev/null
+++ b/docker/shared/src/main/java/HelloWorld.java
@@ -0,0 +1,13 @@
+@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();
+ }
+}