code: private void resolve(byte level, int options) {
          bidi.setInverse((options & Bidi.REORDER_INVERSE_LIKE_DIRECT) != 0);
          bidi.setReorderingMode(options);
          bidi.setPara(text, level, null);
      }
docs: Performs bidi resolution of text.
  
  @param level Base embedding level
  @param options Reordering options