mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
method ref: inline method ref in qualifier place; do not treat cast as redundant there
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class Test {
|
||||
{
|
||||
Bar bar = Test::length;
|
||||
b<caret>ar._("");
|
||||
}
|
||||
|
||||
public static Integer length(String s) {
|
||||
return s.length();
|
||||
}
|
||||
|
||||
interface Bar {
|
||||
Integer _(String s);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user