mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
15 lines
315 B
Java
15 lines
315 B
Java
|
|
import pClass.Class;
|
|
import pAspect.Aspect;
|
|
import org.aspectj.testing.Tester;
|
|
|
|
public class Driver {
|
|
public static void main(String[] args) { test(); }
|
|
|
|
public static void test() {
|
|
Class f = new Class();
|
|
f.foo();
|
|
Tester.check(Aspect.ranAdvice, "advice on class in different package");
|
|
}
|
|
}
|