String (@NotNull Project project, @Nullable MavenProject mavenProject) { String pomPath = mavenProject == null ? null : mavenProject.getPath(); MavenShortcutsManager mavenShortcutsManager = MavenShortcutsManager.getInstanceIfCreated(project); return mavenShortcutsManager == null ? null : mavenShortcutsManager.getActionId(pomPath, null); }