diff options
Diffstat (limited to 'docker/shared/modules/src/main/java/foo')
-rw-r--r-- | docker/shared/modules/src/main/java/foo/HelloWorld.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/shared/modules/src/main/java/foo/HelloWorld.java b/docker/shared/modules/src/main/java/foo/HelloWorld.java new file mode 100644 index 00000000..9c2abbba --- /dev/null +++ b/docker/shared/modules/src/main/java/foo/HelloWorld.java @@ -0,0 +1,14 @@ +package foo; + +@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(); + } +} |