code: @Deprecated
      protected Currency getEffectiveCurrency() {
          Currency c = getCurrency();
          if (c == null) {
              ULocale uloc = getLocale(ULocale.VALID_LOCALE);
              if (uloc == null) {
                  uloc = ULocale.getDefault(Category.FORMAT);
              }
              c = Currency.getInstance(uloc);
          }
          return c;
      }
docs: Returns the currency in effect for this formatter.  Subclasses
  should override this method as needed.  Unlike getCurrency(),
  this method should never return null.
  @return a non-null Currency
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android