選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

AtAspectWithPerClause.aj 237B

1234567891011121314151617
  1. import org.aspectj.lang.annotation.*;
  2. @Aspect("perthis(pc())")
  3. public class AtAspectWithPerClause {
  4. @Pointcut("execution(* *(..))")
  5. public void pc() {}
  6. }
  7. @Aspect
  8. class Foo {
  9. @Pointcut("execution(* *(..))")
  10. public void pc() {}
  11. }