code: public void setCustomTypes(String[] strings) {
          this.customTypes.clear();
          for (String string : strings) {
              CustomType customType = new CustomType();
              customType.setClassName(string);
              this.customTypes.add(customType);
          }
      }
docs: Sets a list of custom types
  @param strings a list of custom types
  @deprecated Use addCustomType instead