mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
inline: find this ref corresponding to static imports (IDEA-64508)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static Statics._emptyList;
|
||||
|
||||
public class Statics {
|
||||
|
||||
public static <T> List<T> _emptyList() {
|
||||
return new ArrayList<T>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
List<String> v1 = _emptyList();
|
||||
doSomething(v<caret>1);
|
||||
}
|
||||
|
||||
public static void doSomething(List<String> list) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user