class C { public B getB(A a) { return null; } } aspect X { public List C.getBs(D ds) { return null; } } public class ParameterizedMethodITD5 { public static void main(String[]argv) { C instance = new C(); Integer i = instance.getB("hello"); List ls = instance.getBs(3); } }