Ejemplo n.º 1
0
 /** @apilevel internal */
 @SuppressWarnings({"unchecked", "cast"})
 public AssignXorExpr clone() throws CloneNotSupportedException {
   AssignXorExpr node = (AssignXorExpr) super.clone();
   node.in$Circle(false);
   node.is$Final(false);
   return node;
 }
Ejemplo n.º 2
0
 /** @apilevel low-level */
 @SuppressWarnings({"unchecked", "cast"})
 public AssignXorExpr fullCopy() {
   AssignXorExpr res = (AssignXorExpr) copy();
   for (int i = 0; i < getNumChildNoTransform(); i++) {
     ASTNode node = getChildNoTransform(i);
     if (node != null) node = node.fullCopy();
     res.setChild(node, i);
   }
   return res;
 }
Ejemplo n.º 3
0
 /** @apilevel internal */
 @SuppressWarnings({"unchecked", "cast"})
 public AssignXorExpr copy() {
   try {
     AssignXorExpr node = (AssignXorExpr) clone();
     if (children != null) node.children = (ASTNode[]) children.clone();
     return node;
   } catch (CloneNotSupportedException e) {
   }
   System.err.println("Error: Could not clone node of type " + getClass().getName() + "!");
   return null;
 }