您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }