diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-10-26 02:17:46 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-10-26 02:17:46 +0200 |
commit | b833522b2cd656e40526af593bab27561e02623b (patch) | |
tree | 7824fe38b50de508d31eb59c13ffc9466b2d247f /docker/shared/src/main/java/HelloWorld.java | |
parent | 93e06e10e190417b7c0012a88f03ce06cff3a959 (diff) | |
download | lombok-b833522b2cd656e40526af593bab27561e02623b.tar.gz lombok-b833522b2cd656e40526af593bab27561e02623b.tar.bz2 lombok-b833522b2cd656e40526af593bab27561e02623b.zip |
add some dockerfiles for testing against jdk9
Diffstat (limited to 'docker/shared/src/main/java/HelloWorld.java')
-rw-r--r-- | docker/shared/src/main/java/HelloWorld.java | 13 |
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();
+ }
+}
|