Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
12345678910111213141516171819 |
- public class Advice {
- public static void main(String []argv) {
- }
- }
-
- aspect X {
- before(): execution(* main(..)) {}
- }
-
- aspect Y {
- before(): adviceexecution() && within(X) {
- System.out.println("tjp:"+thisJoinPointStaticPart.getSignature());
- }
-
- before(): adviceexecution() && within(X) {
- System.out.println("tejp:"+thisEnclosingJoinPointStaticPart.getSignature());
- }
-
- }
|