private static @Nullable Icon getImporterIcon(VirtualFile file) {
    var provider = ProjectOpenProcessor.getImportProvider(file);
    return provider == null ? null :
           file.isDirectory() && provider.lookForProjectsInDirectory() ? ProductIcons.getInstance().getProjectNodeIcon() :
           provider.getIcon(file);
  }
private static @Nullable Icon getImporterIcon(VirtualFile file)