mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
Inline inner: check when possible to inline this ref only (IDEA-39274)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
public class Simple implements Runnable {
|
||||
public void run(){}
|
||||
}
|
||||
|
||||
class Usage {
|
||||
void foo() {
|
||||
bar(new Si<caret>mple());
|
||||
}
|
||||
|
||||
void bar(Runnable... r){}
|
||||
}
|
||||
Reference in New Issue
Block a user