code: @Deprecated
      public String getFields(String pattern) {
          fp.set(pattern);
          StringBuilder newPattern = new StringBuilder();
          for (Object item : fp.getItems()) {
              if (item instanceof String) {
                  newPattern.append(fp.quoteLiteral((String)item));
              } else {
                  newPattern.append("{" + getName(item.toString()) + "}");
              }
          }
          return newPattern.toString();
      }
docs: internal routine
  @param pattern The pattern that is passed.
  @return field value
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android