public boolean add(ASTUnannClassType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTUnannClassTypeList clone() {
   ASTUnannClassTypeList ret = new ASTUnannClassTypeList();
   ret.setList((ArrayList<ASTUnannClassType>) list.clone());
   return ret;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTPostfixexpressionList clone() {
   ASTPostfixexpressionList ret = new ASTPostfixexpressionList();
   ret.setList((ArrayList<ASTPostfixexpression>) list.clone());
   return ret;
 }
 public boolean add(ASTPostfixexpression o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
Esempio n. 5
0
 @Override
 @SuppressWarnings("unchecked")
 public ASTTypenamePList clone() {
   ASTTypenamePList ret = new ASTTypenamePList();
   ret.setList((ArrayList<ASTTypenameP>) list.clone());
   return ret;
 }
Esempio n. 6
0
 public boolean add(ASTTypenameP o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 @Override
 @SuppressWarnings("unchecked")
 public ASTEnhancedForStatementNoShortIfList clone() {
   ASTEnhancedForStatementNoShortIfList ret = new ASTEnhancedForStatementNoShortIfList();
   ret.setList((ArrayList<ASTEnhancedForStatementNoShortIf>) list.clone());
   return ret;
 }
 public boolean add(ASTEnhancedForStatementNoShortIf o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
Esempio n. 9
0
 public boolean add(ASTNumericType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
Esempio n. 10
0
 public boolean add(ASTPtrdeclarator o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
Esempio n. 11
0
 @Override
 @SuppressWarnings("unchecked")
 public ASTPtrdeclaratorList clone() {
   ASTPtrdeclaratorList ret = new ASTPtrdeclaratorList();
   ret.setList((ArrayList<ASTPtrdeclarator>) list.clone());
   return ret;
 }
 public boolean add(ASTNoptrabstractpackdeclarator o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 public boolean add(ASTRelationalexpression o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(o);
   return true;
 }
 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 ASTNoptrabstractpackdeclaratorList deepClone() {
   ASTNoptrabstractpackdeclaratorList result = new ASTNoptrabstractpackdeclaratorList();
   if (list.size() != 0) {
     Iterator<ASTNoptrabstractpackdeclarator> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTNoptrabstractpackdeclarator) 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;
 }
Esempio n. 16
0
 public ASTUnannClassTypeList deepClone() {
   ASTUnannClassTypeList result = new ASTUnannClassTypeList();
   if (list.size() != 0) {
     Iterator<ASTUnannClassType> iter = iterator();
     while (iter.hasNext()) {
       result.add((ASTUnannClassType) 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;
 }
Esempio n. 17
0
 public boolean equals(ASTUnannClassTypeList o) {
   return list.equals(o.getList());
 }
Esempio n. 18
0
 public void clear() {
   list.clear();
 }
Esempio n. 19
0
 public boolean contains(ASTUnannClassType o) {
   return list.contains(o);
 }
Esempio n. 20
0
 public void add(int index, ASTUnannClassType o) {
   if (!is_Existent()) {
     set_Existent(true);
   }
   list.add(index, o);
 }
Esempio n. 21
0
 public ASTUnannClassType get(int index) {
   return list.get(index);
 }
Esempio n. 22
0
 public int indexOf(ASTUnannClassType o) {
   return list.indexOf(o);
 }
Esempio n. 23
0
 public <T> T[] toArray(T[] a) {
   return list.toArray(a);
 }
Esempio n. 24
0
 public List<ASTUnannClassType> subList(int fromIndex, int toIndex) {
   return list.subList(fromIndex, toIndex);
 }
Esempio n. 25
0
 public boolean remove(Object o) {
   return list.remove(o);
 }
Esempio n. 26
0
 public int lastIndexOf(Object o) {
   return list.lastIndexOf(o);
 }
Esempio n. 27
0
 public int hashCode() {
   return list.hashCode();
 }
Esempio n. 28
0
 public boolean containsAll(Collection<?> c) {
   return list.containsAll(c);
 }
Esempio n. 29
0
 public boolean isEmpty() {
   return list.isEmpty();
 }
Esempio n. 30
0
 public int indexOf(Object o) {
   return list.indexOf(o);
 }