@Override
  <T> @Nullable T getHandlerOfType(@NotNull Class<T> type) {
    List<EditorActionHandler> chain = getHandlerChain();
    for (int i = chain.size() - 1; i >= 0; i--) {
      T handler = chain.get(i).getHandlerOfType(type);
      if (handler != null) {
        return handler;
      }
    }
    return null;
  }
@Override
  <T> @Nullable T getHandlerOfType(@NotNull Class<T> type)