blob: 5b3eaf82c2b9c557a322a383ea10db9fa481cf5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public class MyTest {
interface I {
void m(MyTest receiver);
}
void m() { }
{
I i = (I) MyTest::m;
s.m(this);
}
static {
I i = (I) (myTest) -> myTest.m();
}
}
|