blob: 2ebcdeeea381408c8b7338df2f75588f55a530b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import java.lang.Enum;
public aspect EnumAspect03 {
interface I {}
declare parents: SimpleEnum implements I;
enum C {A,B,C};
declare parents: SimpleEnum extends C;
class D {}
declare parents: D extends Enum;
}
|