mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-21 22:11:40 +07:00
static method import: collect all overloaded methods to filter them after finish of stub processing (IDEA-147745)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// "Static import method..." "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.a;
|
||||
|
||||
public class X {
|
||||
{
|
||||
a("");
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
public static Integer a(Integer i) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a(String s) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a(String s, String s) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
public static Integer a(String s) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// "Static import method..." "true"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
{
|
||||
<caret>a("");
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
public static Integer a(Integer i) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a(String s) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static Integer a(String s, String s) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
public static Integer a(String s) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user