mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
preserve static imports if overloaded methods are still used (IDEA-128873)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
import static Foo.foo;
|
||||
public class Bar {
|
||||
void bar() {
|
||||
foo(1);
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public class Foo {
|
||||
public static void foo(int i){}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import static Foo.foo;
|
||||
public class Bar {
|
||||
void bar() {
|
||||
foo();
|
||||
foo(1);
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public class Foo {
|
||||
public static void foo(){}
|
||||
public static void foo(int i){}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public class Bar {
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public class Foo {
|
||||
public static void foo(int i){}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import static Foo.foo;
|
||||
public class Bar {
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public class Foo {
|
||||
public static void foo(){}
|
||||
public static void foo(int i){}
|
||||
}
|
||||
Reference in New Issue
Block a user