Hi,
I work on
java project and I intercept with AOP some java methods. I want the get the code of the intercepted method (joinpoint).
Now I can get the name and the arguments of the jointpoint but not the complete code inside. For example if my joinpont is the following method:
public void action() {
Etat = Etats.MEDECIN_MARCHE;
sousEtat_Marche = Marche.RECHERCHE_VICTIME;
Ontologie.ordreExplorer oE = (Ontologie.ordreExplorer) objet;
NZone = oE.getNumZone();
etape = param.getParam().etape;
Finished = true;
}
the result will be :
Etat = Etats.MEDECIN_MARCHE;
sousEtat_Marche = Marche.RECHERCHE_VICTIME;
Ontologie.ordreExplorer oE = (Ontologie.ordreExplorer) objet;
NZone = oE.getNumZone();
etape = param.getParam().etape;
Finished = true;
Thank you