code: @Override
      public Collection<MonetaryAmountFormat> getAmountFormats(AmountFormatQuery amountFormatQuery) {
          Objects.requireNonNull(amountFormatQuery, "AmountFormatContext required");
          if (!amountFormatQuery.getProviderNames().isEmpty() &&
                  !amountFormatQuery.getProviderNames().contains(getProviderName())) {
              return Collections.emptySet();
          }
          if (!(amountFormatQuery.getFormatName() == null || DEFAULT_FORMAT.equals(amountFormatQuery.getFormatName()))) {
              return Collections.emptySet();
          }
          AmountFormatContextBuilder builder = AmountFormatContextBuilder.of(DEFAULT_FORMAT);
          if (amountFormatQuery.getLocale() != null) {
              builder.setLocale(amountFormatQuery.getLocale());
          }
          builder.importContext(amountFormatQuery, false);
          builder.setMonetaryAmountFactory(amountFormatQuery.getMonetaryAmountFactory());
          return Arrays.asList(new MonetaryAmountFormat[]{new DefaultMonetaryAmountFormat(builder.build())});
      }
docs: /*
  (non-Javadoc)
  @see
  MonetaryAmountFormatProviderSpi#getFormat(AmountFormatContext)