aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/pr728/Interface.java
blob: 1b1119578133760d7f5d207a67db5a7ff4d2be25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
    }
  }
}