Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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