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

12345678910111213141516171819
  1. import org.aspectj.testing.Tester;
  2. /** @testcase Bugzilla Bug 29691
  3. Static inner aspects cannot reference user defined pointcuts
  4. */
  5. public class PcdLookup {
  6. public static void main(String[] args) {
  7. }
  8. public static aspect Referencer {
  9. pointcut mainCall() : call(void main(..));
  10. pointcut myMainCall() : mainCall() && outer();
  11. }
  12. pointcut outer(): within(PcdLookup);
  13. }