@Override
 @SuppressWarnings("unchecked")
 public ASTEnhancedForStatementNoShortIfList clone() {
   ASTEnhancedForStatementNoShortIfList ret = new ASTEnhancedForStatementNoShortIfList();
   ret.setList((ArrayList<ASTEnhancedForStatementNoShortIf>) list.clone());
   return ret;
 }
 public ASTEnhancedForStatementNoShortIfList deepClone() {
   ASTEnhancedForStatementNoShortIfList result = new ASTEnhancedForStatementNoShortIfList();
   if (list.size() != 0) {
     Iterator<ASTEnhancedForStatementNoShortIf> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTEnhancedForStatementNoShortIf) iter.next().deepClone());
     }
   }
   for (de.monticore.ast.Comment x : get_PreComments()) {
     result.get_PreComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   for (de.monticore.ast.Comment x : get_PostComments()) {
     result.get_PostComments().add(new de.monticore.ast.Comment(x.getText()));
   }
   return result;
 }
 public boolean equalsWithComments(Object o) {
   ASTEnhancedForStatementNoShortIfList comp;
   if ((o instanceof ASTEnhancedForStatementNoShortIfList)) {
     comp = (ASTEnhancedForStatementNoShortIfList) o;
   } else {
     return false;
   }
   if (this.size() == comp.size()) {
     java.util.Iterator<ASTEnhancedForStatementNoShortIf> one = this.iterator();
     java.util.Iterator<ASTEnhancedForStatementNoShortIf> two = comp.iterator();
     while (one.hasNext()) {
       if (!one.next().equalsWithComments(two.next())) {
         return false;
       }
     }
   } else {
     return false;
   }
   return true;
 }
 public boolean deepEqualsWithComments(Object o, boolean forceSameOrder) {
   ASTEnhancedForStatementNoShortIfList comp;
   if ((o instanceof ASTEnhancedForStatementNoShortIfList)) {
     comp = (ASTEnhancedForStatementNoShortIfList) o;
   } else {
     return false;
   }
   if (this.size() == comp.size()) {
     if (forceSameOrder) {
       java.util.Iterator<ASTEnhancedForStatementNoShortIf> one = this.iterator();
       while (one.hasNext()) {
         ASTEnhancedForStatementNoShortIf oneNext = one.next();
         boolean matchFound = false;
         java.util.Iterator<ASTEnhancedForStatementNoShortIf> two = comp.iterator();
         while (two.hasNext()) {
           if (oneNext.deepEqualsWithComments(two.next(), forceSameOrder)) {
             matchFound = true;
             break;
           }
         }
         if (!matchFound) {
           return false;
         }
       }
     } else {
       java.util.Iterator<ASTEnhancedForStatementNoShortIf> one = this.iterator();
       java.util.Iterator<ASTEnhancedForStatementNoShortIf> two = comp.iterator();
       while (one.hasNext()) {
         if (!one.next().deepEqualsWithComments(two.next(), forceSameOrder)) {
           return false;
         }
       }
     }
   } else {
     return false;
   }
   return true;
 }
 public boolean equals(ASTEnhancedForStatementNoShortIfList o) {
   return list.equals(o.getList());
 }
 public void add(ASTEnhancedForStatementNoShortIf o) {
   it.add(o);
   if (!t.is_Existent()) t.set_Existent(true);
 }