mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
23 lines
349 B
Java
23 lines
349 B
Java
// "Import static method 'foo.B.aaaaaaa()'" "true-preview"
|
|
package foo;
|
|
|
|
import static foo.B.aaaaaaa;
|
|
|
|
public class X {
|
|
{
|
|
foo(1, 2, aaaaaaa(""));
|
|
}
|
|
|
|
void foo(Integer... p) {}
|
|
}
|
|
|
|
class B {
|
|
public static Integer aaaaaaa(String s) {
|
|
return 1;
|
|
}
|
|
}
|
|
class B1 {
|
|
public static String aaaaaaa(String s) {
|
|
return "";
|
|
}
|
|
} |