/* */ public void deployCFlowStack(Element pointcut) throws Exception
/* */ {
/* 525 */ String name = pointcut.getAttribute("name");
/* 526 */ if ((name != null) && (name.trim().equals(""))) name = null;
/* 527 */ if (name == null) throw new RuntimeException("name required for a cflow-stack");
/* 528 */ CFlowStack stack = new CFlowStack(name);
/* 529 */ NodeList children2 = pointcut.getChildNodes();
/* 530 */ for (int j = 0; j < children2.getLength(); j++)
/* */ {
/* 532 */ if (children2.item(j).getNodeType() != 1)
/* */ continue;
/* 534 */ Element cflowElement = (Element)children2.item(j);
/* 535 */ String tag2 = cflowElement.getTagName();
/* 536 */ String expr = cflowElement.getAttribute("expr");
/* 537 */ if ((expr != null) && (expr.trim().equals("")))
/* */ {
/* 539 */ throw new RuntimeException(tag2 + " requires an expr attribute to be defined");
/* */ }
/* 541 */ if (tag2.equals("called"))
/* */ {
/* 543 */ stack.addCFlow(new CFlow(expr, false));
/* */ }
/* 545 */ if (!tag2.equals("not-called"))
/* */ continue;
/* 547 */ stack.addCFlow(new CFlow(expr, true));
/* */ }
/* */
/* 552 */ this.manager.addCFlowStack(stack);
/* */ }