// "Replace with method reference" "true-preview" class Main { interface A { void foo(); } static void mm(){} { A a = Main::mm; } }