VirtualFile[] (final @NotNull JComponent parent, @Nullable VirtualFile initialSelection, final @Nullable Module contextModule, @NotNull LibraryEditor libraryEditor) { final FileChooserDescriptor chooserDescriptor = createChooserDescriptor(); chooserDescriptor.setTitle(getChooserTitle(libraryEditor.getName())); chooserDescriptor.setDescription(getChooserDescription()); if (contextModule != null) { chooserDescriptor.putUserData(LangDataKeys.MODULE_CONTEXT, contextModule); } return FileChooser.chooseFiles(chooserDescriptor, parent, contextModule != null ? contextModule.getProject() : null, initialSelection); }