void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); Editor editor = getEditor(dataContext); if (this instanceof LatencyAwareEditorAction && editor != null) { String actionId = ActionManager.getInstance().getId(this); InputEvent inputEvent = e.getInputEvent(); if (actionId != null && inputEvent != null) { LatencyRecorder.getInstance().recordLatencyAwareAction(editor, actionId, inputEvent.getWhen()); } } actionPerformed(editor, dataContext); }