code: public static MonetaryContext from(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery,
                                         Class<? extends MonetaryAmount> amountClass) {
          return MonetaryContextBuilder.of(amountClass).importContext(monetaryAmountFactoryQuery).build();
      }
docs: This method allows to easily of a new MonetaryContext instance from a given {@link javax.money
  .MonetaryAmountFactoryQuery}.
  
  @param monetaryAmountFactoryQuery the monetary amount factory query, not null.
  @param amountClass                the targeted implementation type.
  @return a new corresponding MonetaryContext instance.