interface A {} interface B extends A {} class C implements A {} class D extends C {} aspect X { declare parents: D implements B; // Can't do it, C implement A }