import java.util.*; public class MethodM { public static void main(String []argv) { List doubleList = new ArrayList(); List floatList = new ArrayList(); One o = new One(); List ld = o.m(); Two t = new Two(); List lf = t.m(); } } interface I { } class One implements I {} class Two implements I {} aspect X { public List I.m() { return null;} // ok }