private static void installSpeedSearch(XDebuggerFramesList framesList) {
    //noinspection unchecked
    ListSpeedSearch.installOn(framesList, obj -> {
      //we have to use reflection because XDebuggerFramesList extends from JBList without generic parameter
      if (obj instanceof XStackFrame frame) {
        return getStackFramePresentableText(frame);
      }
      else {
        return null;
      }
    });
  }
private static void installSpeedSearch(XDebuggerFramesList framesList)