getAspectManager().getPointcutManager(aspectDef.getName());
for (Iterator it2 = aspectDef.getAroundAdvices().iterator(); it2.hasNext();) {
AdviceDefinition adviceDef = (AdviceDefinition)it2.next();
if (adviceDef.getExpression().isOfType(PointcutType.EXECUTION)) {
ExecutionPointcut pointcut = pointcutManager.getExecutionPointcut(
adviceDef.getExpression().getExpression()
);
if (pointcut == null) {
pointcut = new ExecutionPointcut(uuid, adviceDef.getExpression());
pointcutManager.addExecutionPointcut(pointcut);
}
pointcut.addAroundAdvice(adviceDef.getName());
}
}
for (Iterator it2 = aspectDef.getBeforeAdvices().iterator(); it2.hasNext();) {
AdviceDefinition adviceDef = (AdviceDefinition)it2.next();
if (adviceDef.getExpression().isOfType(PointcutType.EXECUTION)) {
ExecutionPointcut pointcut = pointcutManager.getExecutionPointcut(
adviceDef.getExpression().getExpression()
);
if (pointcut == null) {
pointcut = new ExecutionPointcut(uuid, adviceDef.getExpression());
pointcutManager.addExecutionPointcut(pointcut);
}
pointcut.addBeforeAdvice(adviceDef.getName());
}
}
for (Iterator it2 = aspectDef.getAfterAdvices().iterator(); it2.hasNext();) {
AdviceDefinition adviceDef = (AdviceDefinition)it2.next();
if (adviceDef.getExpression().isOfType(PointcutType.EXECUTION)) {
ExecutionPointcut pointcut = pointcutManager.getExecutionPointcut(
adviceDef.getExpression().getExpression()
);
if (pointcut == null) {
pointcut = new ExecutionPointcut(uuid, adviceDef.getExpression());
pointcutManager.addExecutionPointcut(pointcut);
}
pointcut.addAfterAdvice(adviceDef.getName());
}
}
}
}