mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
[java8] Support in delombok for intersection typecast and lambdas
This commit is contained in:
1 parent
415fa0d8db
commit
fd1a9d7c09
7 files changed
+114
-6
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// version 8:
|
||||
import java.util.*;
|
||||
public class CastWithIntersection {
|
||||
public void test(List<?> list) {
|
||||
RandomAccess r = (RandomAccess & java.io.Serializable) list;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user