Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

LTWInterfaceITD.aj 429B

123456789101112131415161718
  1. import java.util.List;
  2. public privileged aspect LTWInterfaceITD {
  3. declare parents : LTWHelloWorld implements Runnable;
  4. public void LTWHelloWorld.run () {
  5. add("LTWInterfaceITD");
  6. }
  7. pointcut init (LTWHelloWorld hw) :
  8. execution(LTWHelloWorld.new()) && this(hw);
  9. after (LTWHelloWorld hw) : init (hw) {
  10. System.err.println("LTWInterfaceITD.init(" + thisJoinPointStaticPart + ")");
  11. hw.run();
  12. }
  13. }