aboutsummaryrefslogtreecommitdiff
path: root/docker/shared/classpath/src/main/java/HelloWorld.java
diff options
context:
space:
mode:
Diffstat (limited to 'docker/shared/classpath/src/main/java/HelloWorld.java')
-rw-r--r--docker/shared/classpath/src/main/java/HelloWorld.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/shared/classpath/src/main/java/HelloWorld.java b/docker/shared/classpath/src/main/java/HelloWorld.java
new file mode 100644
index 00000000..ff12d248
--- /dev/null
+++ b/docker/shared/classpath/src/main/java/HelloWorld.java
@@ -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();
+ }
+}