+import java.lang.Enum;\r
+\r
public aspect EnumAspect03 {\r
declare parents: SimpleEnum implements java.io.Serializable;\r
\r
- class C extends Enum {\r
- }\r
+ class C extends Enum { }\r
declare parents: SimpleEnum extends C;\r
+\r
+ class D {}\r
+ declare parents: D extends Enum;\r
}\r
--- /dev/null
+import java.lang.Enum;\r
+\r
+public aspect EnumAspect04 {\r
+ declare parents: SimpleE* implements java.io.Serializable;\r
+\r
+}\r
--- /dev/null
+public enum SimpleEnum2 { Black, White };
<target name="default" >
<delete dir="output" failonerror="false"/>
<mkdir dir="output"/>
- <javac destdir="output" debug="on" srcdir="." includes="SimpleEnum.java"/>
+ <javac destdir="output" debug="on" srcdir="." includes="SimpleEnum*.java"/>
<javac destdir="output" debug="on" srcdir="." includes="Enum.java"/>
<zip file="testcode.jar" basedir="output" includes="**/*"/>
<delete dir="output"/>