mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
11 lines
211 B
Java
11 lines
211 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class InterfaceDefaultMethodParameter {
|
|
public static void test() {
|
|
new I(){}.test(null);
|
|
}
|
|
}
|
|
|
|
interface I {
|
|
default void test(@NotNull String s) { }
|
|
} |