import java.util.*; public class MethodH { public static void main(String []argv) { Base baseInt = new Base(); Base baseString = new Base(); List intList = new ArrayList(); List strList = new ArrayList(); List li = baseInt.m(intList); List ls = baseString.m(strList); } } class Base { } aspect X { public List Base.m(List lz) { return null;} // OK, Z becomes N in first case, S in the second ;) }