mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
16 lines
226 B
Java
16 lines
226 B
Java
interface SAM {
|
|
String m(MethodReference<String> f, F f1);
|
|
}
|
|
|
|
|
|
class F {}
|
|
|
|
class MethodReference<X> {
|
|
String ge<caret>tX(F f1) {
|
|
return null;
|
|
}
|
|
|
|
static void test() {
|
|
SAM s = MethodReference<String>::getX;
|
|
}
|
|
} |