Data (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return null; Editor editor = e.getData(CommonDataKeys.EDITOR); if (editor == null) return null; LineStatusTracker<?> tracker = LineStatusTrackerManager.getInstance(project).getLineStatusTracker(editor.getDocument()); if (tracker == null) return null; return new Data(tracker, editor); }