@@ -0,0 +1,4 @@ | |||
public aspect A { | |||
public enum TestType {Pre}; | |||
} | |||
@@ -0,0 +1,7 @@ | |||
public aspect A2 { | |||
public static class C { | |||
public enum TestType {Pre}; | |||
} | |||
} |
@@ -0,0 +1,7 @@ | |||
public class Bar { | |||
public static void main(String[] args) { | |||
A2.C.TestType pre = A2.C.TestType.Pre; | |||
} | |||
} |
@@ -0,0 +1,7 @@ | |||
public class C { | |||
static aspect A { | |||
public enum TestType {Pre}; | |||
} | |||
} |
@@ -0,0 +1,7 @@ | |||
public class Foo { | |||
public static void main(String[] args) { | |||
A.TestType pre = A.TestType.Pre; | |||
} | |||
} |
@@ -0,0 +1,6 @@ | |||
public class Goo { | |||
public static void main(String[] args) { | |||
C.A.TestType pre = C.A.TestType.Pre; | |||
} | |||
} |
@@ -0,0 +1,5 @@ | |||
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 |