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