code: public CodeType addTypeElement() {//2 
        CodeType t = new CodeType();
        if (this.type == null)
          this.type = new ArrayList<CodeType>();
        this.type.add(t);
        return t;
      }
docs: syntactic sugar