You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Interface.java 457B

1234567891011121314151617
  1. import org.aspectj.testing.*;
  2. /** @testcase PR#728 file order in type searching */
  3. public interface Interface {
  4. static aspect Aspect {
  5. void aspectMethod( AnotherClass.InnerClass targ ) {
  6. Tester.event( targ.toString());
  7. }
  8. before(AnotherClass.InnerClass targ) : target(targ)
  9. && !withincode(void Aspect.aspectMethod(AnotherClass.InnerClass))
  10. && call(public String toString()) {
  11. aspectMethod(targ);
  12. }
  13. }
  14. }