@protocol P1 - (void)p1_method; - (void)p1_method; @end @interface Foo (SubP1) @end