--- /dev/null
+public aspect A {
+ public enum TestType {Pre};
+}
+
--- /dev/null
+public aspect A2 {
+
+ public static class C {
+ public enum TestType {Pre};
+ }
+
+}
--- /dev/null
+public class Bar {
+
+ public static void main(String[] args) {
+ A2.C.TestType pre = A2.C.TestType.Pre;
+ }
+
+}
--- /dev/null
+public class C {
+
+ static aspect A {
+ public enum TestType {Pre};
+ }
+
+}
--- /dev/null
+public class Foo {
+
+ public static void main(String[] args) {
+ A.TestType pre = A.TestType.Pre;
+ }
+
+}
--- /dev/null
+public class Goo {
+
+ public static void main(String[] args) {
+ C.A.TestType pre = C.A.TestType.Pre;
+ }
+}
--- /dev/null
+to regenerate jarForFoo.jar: ajc A.aj -outjar required.jar -1.5 -noExit
+
+to regenerate jarForBar.jar: ajc A2.aj -outjar jarForBar.jar -1.5 -noExit
+
+to regenerate jarForGoo.jar: ajc C.java -outjar jarForGoo.jar -1.5 -noExit