Icon (@NotNull VirtualFile file, @Iconable.IconFlags int flags, @Nullable Project project) { if (project == null) return null; MavenProject mavenProject = MavenProjectsManager.getInstance(project).findProject(file); if (mavenProject != null) { if (MavenProjectsManager.getInstance(project).isIgnored(mavenProject)) { return MavenIcons.MavenIgnored; } return RepositoryLibraryLogo; } return null; }