mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inline to anonymous: allow to inline from library (IDEA-162893)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class Test {
|
||||
{
|
||||
Object p = new Object() {
|
||||
public void foo() {}
|
||||
};
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import p.P;
|
||||
class Test {
|
||||
{
|
||||
P p = new <caret>P();
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
public class P {
|
||||
public P() {
|
||||
}
|
||||
public void foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user