code: public String[] getCustomTypes() {
          String[] customTypes = new String[this.customTypes.size()];
          for (int i = 0; i < this.customTypes.size(); i++) {
              CustomType customType = this.customTypes.get(i);
              customTypes[i] = customType.getClassName();
          }
          return customTypes;
      }
docs: Gets a list of custom types
  @return a list of custom types
  @deprecated Use addCustomType instead