mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java] don't replace lambda with method reference when qualifier is nullable (IDEA-278691)
GitOrigin-RevId: f514b690e9e2d007c124ce2b7179af39b6131f3f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5a7d78514
commit
4972eabd8b
@@ -0,0 +1,13 @@
|
||||
// "Replace lambda with method reference" "false"
|
||||
class Example {
|
||||
private void m() { }
|
||||
|
||||
{
|
||||
Example e = null;
|
||||
Runnable unusedRunnable = () -> <caret>e.m();
|
||||
}
|
||||
|
||||
interface I {
|
||||
void n(Example e);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user