// "Import static method..." "true-preview" package p; import static p.FFF.myEqualTo; public class X { public void test() throws Exception { assertMe("", myEqualTo("")); } void assertMe(V v, M m) { } } class M { } class FFF { public static M myEqualTo(T operand) { return null; } } class LLL { public static M myEqualTo(String string) { return null; } }