1 2 3 4 5 6 7 8 9 10 11 12 13
import java.lang.annotation.Annotation; public aspect AnnotationAspect04 { declare parents: SimpleAnnotation implements java.io.Serializable; class C {} declare parents: SimpleAnnotation extends C; class D {} declare parents: D extends Annotation; }