public class Test{ public static void foo() {} int a = 0; int b = foo; }