Icon (Icon baseIcon, VirtualFile file, int flags, Project project) { if (project == null) return baseIcon; final PsiFile psiFile = PsiManager.getInstance(project).findFile(file); if (psiFile != null && XsltSupport.isXsltFile(psiFile)) { return XsltSupport.createXsltIcon(baseIcon); } return baseIcon; }