/* 756 */ if ((classExpr != null) && (ast != null))
/* */ {
/* 758 */ throw new RuntimeException("You cannot define both a class and expr attribute in the same <arrayreplacement>");
/* */ }
/* */
/* 761 */ ArrayReplacement pcut = null;
/* 762 */ if (classExpr != null)
/* */ {
/* 764 */ pcut = new ArrayReplacement(name, classExpr);
/* */ }
/* */ else
/* */ {
/* 768 */ ASTStart start = new TypeExpressionParser(new StringReader(ast)).Start();
/* 769 */ pcut = new ArrayReplacement(name, start);
/* */ }
/* 771 */ this.manager.addArrayReplacement(pcut);
/* */ }