mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
new inference: initial tests
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
import static java.util.Arrays.sort;
|
||||
<warning descr="Unused import statement">import static java.util.Arrays.binarySearch;</warning>
|
||||
|
||||
public class StaticImports {
|
||||
{
|
||||
asList(new Object[]{});
|
||||
}
|
||||
|
||||
void method() {
|
||||
sort(new long[0]);
|
||||
// sort< error descr="Cannot resolve method 'sort()'">()< /error>;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user