make the statically imported suggestions obey the expected type (IDEA-59720)

This commit is contained in:
peter.gromov
2010-10-18 21:16:35 +04:00
parent abf5792a3f
commit 127a5b0b8e
4 changed files with 30 additions and 14 deletions
@@ -0,0 +1,11 @@
import java.util.ArrayList;
import java.util.List;
import static java.lang.Math.*;
public class TestClass {
private List<String> testList;
public void testMe() {
List<String> newList = new ArrayList<String>(at<caret>);
}
}