class Test { void test() { a((I) System::exit); } void a(Object b) {} interface I { void i(int i); } }