void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; ServiceView selectedView = getSelectedView(e); if (selectedView == null) return; ((ServiceViewManagerImpl)ServiceViewManager.getInstance(project)).splitByType(selectedView); }