aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/CastWithIntersection.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-05-01 00:03:01 +0200
committerRoel Spilker <r.spilker@gmail.com>2014-05-01 00:06:22 +0200
commitfd1a9d7c0994ec93881e2986844856b781a22c6d (patch)
treead2b4d6c86a54026d370a88685db2b575c837867 /test/pretty/resource/after/CastWithIntersection.java
parent415fa0d8db53ef92420539ba44a134575e73d9d4 (diff)
downloadlombok-fd1a9d7c0994ec93881e2986844856b781a22c6d.tar.gz
lombok-fd1a9d7c0994ec93881e2986844856b781a22c6d.tar.bz2
lombok-fd1a9d7c0994ec93881e2986844856b781a22c6d.zip
[java8] Support in delombok for intersection typecast and lambdas
Diffstat (limited to 'test/pretty/resource/after/CastWithIntersection.java')
-rw-r--r--test/pretty/resource/after/CastWithIntersection.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pretty/resource/after/CastWithIntersection.java b/test/pretty/resource/after/CastWithIntersection.java
new file mode 100644
index 00000000..2eebdee1
--- /dev/null
+++ b/test/pretty/resource/after/CastWithIntersection.java
@@ -0,0 +1,6 @@
+import java.util.*;
+public class CastWithIntersection {
+ public void test(List<?> list) {
+ RandomAccess r = (RandomAccess & java.io.Serializable)list;
+ }
+} \ No newline at end of file