public ASTNumericTypeList deepClone() { ASTNumericTypeList result = new ASTNumericTypeList(); if (list.size() != 0) { Iterator<ASTNumericType> iter = iterator(); while (iter.hasNext()) { result.add((ASTNumericType) 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; }