mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
introduce parameter: expand method reference to lambda when new parameter introduced (IDEA-152125)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface I {
|
||||
boolean m(int a);
|
||||
}
|
||||
|
||||
class A {
|
||||
{
|
||||
I predicate = A::alwaysTrue;
|
||||
}
|
||||
|
||||
private static boolean alwaysTrue(int a) {
|
||||
<selection>""</selection>
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user