aboutsummaryrefslogtreecommitdiff
path: root/docker/shared
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-10-26 02:17:46 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-10-26 02:17:46 +0200
commitb833522b2cd656e40526af593bab27561e02623b (patch)
tree7824fe38b50de508d31eb59c13ffc9466b2d247f /docker/shared
parent93e06e10e190417b7c0012a88f03ce06cff3a959 (diff)
downloadlombok-b833522b2cd656e40526af593bab27561e02623b.tar.gz
lombok-b833522b2cd656e40526af593bab27561e02623b.tar.bz2
lombok-b833522b2cd656e40526af593bab27561e02623b.zip
add some dockerfiles for testing against jdk9
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();
+ }
+}