for (Iterator arounds = aspectDef.getAroundAdvices().iterator(); arounds.hasNext();) {
AdviceDefinition around = (AdviceDefinition) arounds.next();
if (around.getName().equals(aspectName + ".logMethod")) {
// copy the logMethod advice
// note: we could add a totally new advice as well
newDef = around.copyAt(expressionInfo);
break;
}
}
aspectDef.addAroundAdvice(newDef);