code: @Deprecated
      public static RoundedMoney of(CurrencyUnit currency, Number number, MonetaryContext monetaryContext,
                                    MonetaryOperator rounding) {
          return new RoundedMoney(number, currency,
                  DEFAULT_MONETARY_CONTEXT.toBuilder().importContext(monetaryContext).build(), rounding);
      }
docs: Static factory method for creating a new instance of {@link RoundedMoney} .
  
  @param currency        The target currency, not null.
  @param number          The numeric part, not null.
  @param monetaryContext the {@link MonetaryContext} to be used.
  @param rounding        The rounding to be applied.
  @return A new instance of {@link RoundedMoney}.