aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValInLambda.java
diff options
context:
space:
mode:
authorbulgakovalexander <mfourgeneralsherman@gmail.com>2016-10-20 16:47:35 +0300
committerGitHub <noreply@github.com>2016-10-20 16:47:35 +0300
commit4d9da60f4f2643302e53267ef150ee4c68c39d7c (patch)
tree6986510d8a45e2cca4fcb81d87a3d675032a0c10 /test/transform/resource/after-delombok/ValInLambda.java
parentaa2f4424a78b962edf0b7e0ef551a82c5822619a (diff)
parent49f0bc1c3ede3c81754568af22fcdbbe8f4b5a8f (diff)
downloadlombok-4d9da60f4f2643302e53267ef150ee4c68c39d7c.tar.gz
lombok-4d9da60f4f2643302e53267ef150ee4c68c39d7c.tar.bz2
lombok-4d9da60f4f2643302e53267ef150ee4c68c39d7c.zip
Merge pull request #1 from rzwitserloot/master
merge from the main repo
Diffstat (limited to 'test/transform/resource/after-delombok/ValInLambda.java')
-rw-r--r--test/transform/resource/after-delombok/ValInLambda.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValInLambda.java b/test/transform/resource/after-delombok/ValInLambda.java
new file mode 100644
index 00000000..7ce1e1b4
--- /dev/null
+++ b/test/transform/resource/after-delombok/ValInLambda.java
@@ -0,0 +1,18 @@
+// version 8:
+class ValInLambda {
+ Runnable foo = (Runnable) () -> {
+ final int i = 1;
+ };
+
+ public void easyLambda() {
+ Runnable foo = (Runnable) () -> {
+ final int i = 1;
+ };
+ }
+
+ public void easyIntersectionLambda() {
+ Runnable foo = (Runnable) () -> {
+ final int i = 1;
+ };
+ }
+}