mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-02 05:50:53 +07:00
17 lines
315 B
Java
17 lines
315 B
Java
public class Test {
|
|
{
|
|
if (Test::<error descr="Cannot resolve method 'length'">length</error> instanceof String) {
|
|
}
|
|
bar(Test::length);
|
|
}
|
|
|
|
public static Integer length(String s) {
|
|
return s.length();
|
|
}
|
|
|
|
public static void bar(Bar bar) {}
|
|
|
|
interface Bar {
|
|
Integer _(String s);
|
|
}
|
|
} |