class A { public void foo(int p) { System.out.println("foo"); } }