IDEA-121784 (Add on demand static import intention not available when single-member static import present)

This commit is contained in:
Bas Leijdekkers
2014-03-06 19:52:59 +01:00
parent 8853670af1
commit b52ec5f33f
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// "Add on demand static import for 'java.lang.Math'" "true"
package test;
import static java.lang.Math.*;
import static java.lang.Math.abs;
public class C {{
abs(1.0);
max(1, 2);
}}

View File

@@ -0,0 +1,9 @@
// "Add on demand static import for 'java.lang.Math'" "true"
package test;
import static java.lang.Math.abs;
public class C {{
abs(1.0);
<caret>Math.max(1, 2);
}}