code: public static MonetaryRounding getRounding(RoundingQuery roundingQuery) {
          return Optional.ofNullable(monetaryRoundingsSingletonSpi()).orElseThrow(
                  () -> new MonetaryException("No MonetaryRoundingsSpi loaded, query functionality is not available."))
                  .getRounding(roundingQuery);
      }
docs: Access a {@link MonetaryRounding} using a possibly complex query.
  
  @param roundingQuery The {@link javax.money.RoundingQuery} that may contains arbitrary parameters to be
  evaluated.
  @return the corresponding {@link javax.money.MonetaryRounding}, never {@code null}.
  @throws IllegalArgumentException if no such rounding is registered using a
  {@link javax.money.spi.RoundingProviderSpi} instance.