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

public void actionPerformed(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();
}
@NotNull
private static List<VirtualFile> getRoots(AnActionEvent e) {
