import java.util.*; interface I {} class Sub implements I {} class Sub2 implements I { public int publicMethod(List ns) { return 0; } } public aspect SimpleI { public static void main(String []argv) { } public int I.publicMethod(List ns) { return ns.size(); } }