mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
show static import suggestion: ensure normal inference process for method candidate (IDEA-152985)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Static import method 'java.util.Collections.emptyList'" "true"
|
||||
import java.util.List;
|
||||
|
||||
import static java.util.Collections.emptyList;
|
||||
|
||||
public class X {
|
||||
List<String> get() {
|
||||
return emptyList();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Static import method 'java.util.Collections.emptyList'" "true"
|
||||
import java.util.List;
|
||||
public class X {
|
||||
List<String> get() {
|
||||
return <caret>emptyList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user