void (@NotNull AnActionEvent e) { Data data = getDataFromContext(e); if (data == null) return; Range targetRange = getTargetRange(data.tracker, data.editor); if (targetRange == null) return; moveToRange(data.tracker, data.editor, targetRange); }