mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
18 lines
457 B
Java
18 lines
457 B
Java
import org.aspectj.testing.*;
|
|
|
|
/** @testcase PR#728 file order in type searching */
|
|
public interface Interface {
|
|
static aspect Aspect {
|
|
void aspectMethod( AnotherClass.InnerClass targ ) {
|
|
Tester.event( targ.toString());
|
|
}
|
|
before(AnotherClass.InnerClass targ) : target(targ)
|
|
&& !withincode(void Aspect.aspectMethod(AnotherClass.InnerClass))
|
|
&& call(public String toString()) {
|
|
aspectMethod(targ);
|
|
}
|
|
}
|
|
}
|
|
|
|
|