aboutsummaryrefslogtreecommitdiff
path: root/docker/shared/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'docker/shared/src/main')
-rw-r--r--docker/shared/src/main/java/HelloWorld.java13
1 files changed, 13 insertions, 0 deletions
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();
+ }
+}