inline: find this ref corresponding to static imports (IDEA-64508)

This commit is contained in:
anna
2011-01-24 18:39:41 +01:00
parent 2ec7b6f5e6
commit a6e6122719
4 changed files with 55 additions and 3 deletions
@@ -0,0 +1,22 @@
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) {
doSomething(Statics.<String>_emptyList());
}
public static void doSomething(List<String> list) {
}
}