getAspectMetaData(aspectDef.getName());
List beforeAdvices = aspectDef.getBeforeAdvices();
for (Iterator it2 = beforeAdvices.iterator(); it2.hasNext();) {
AdviceDefinition adviceDef = (AdviceDefinition)it2.next();
GetPointcut pointcut = aspectMetaData.getGetPointcut(
adviceDef.getExpression().getExpression()
);
if (pointcut == null) {
pointcut = new GetPointcut(uuid, adviceDef.getExpression());
aspectMetaData.addGetPointcut(pointcut);
}
pointcut.addBeforeAdvice(adviceDef.getName());
}
List afterAdvices = aspectDef.getAfterAdvices();
for (Iterator it2 = afterAdvices.iterator(); it2.hasNext();) {
AdviceDefinition adviceDef = (AdviceDefinition)it2.next();
GetPointcut pointcut = aspectMetaData.getGetPointcut(
adviceDef.getExpression().getExpression()
);
if (pointcut == null) {
pointcut = new GetPointcut(uuid, adviceDef.getExpression());
aspectMetaData.addGetPointcut(pointcut);
}
pointcut.addAfterAdvice(adviceDef.getName());
}
}
}