void (@NotNull AnActionEvent e) { final Project project = getEventProject(e); if (project == null) return; final List<VirtualFile> jars = getRoots(e); if (jars.isEmpty()) return; final List<OrderRoot> roots = RootDetectionUtil.detectRoots(jars, null, project, new DefaultLibraryRootsComponentDescriptor()); new CreateLibraryFromFilesDialog(project, roots).show(); }