class Animal2 { } class Bar2 {} interface XXX2 {} public class Cage2>> extends Bar2 { } aspect X { declare parents: Cage2 implements java.io.Serializable; }