code: public DisplayContext getContext(DisplayContext.Type type) {
          return (type == DisplayContext.Type.CAPITALIZATION && capitalizationSetting != null)?
                  capitalizationSetting: DisplayContext.CAPITALIZATION_NONE;
      }
docs: <strong>[icu]</strong> Get the formatter's DisplayContext value for the specified DisplayContext.Type,
  such as CAPITALIZATION.
  
  @param type the DisplayContext.Type whose value to return
  @return the current DisplayContext setting for the specified type