Ejemplo n.º 1
0
 /** @apilevel internal */
 @SuppressWarnings({"unchecked", "cast"})
 public WildcardSuperType copy() {
   try {
     WildcardSuperType node = (WildcardSuperType) clone();
     node.parent = null;
     if (children != null) node.children = (ASTNode[]) children.clone();
     return node;
   } catch (CloneNotSupportedException e) {
     throw new Error("Error: clone not supported for " + getClass().getName());
   }
 }