void (PresentationData data, PsiDirectory psiDirectory) { final VirtualFile virtualFile = psiDirectory.getVirtualFile(); if (ProjectRootsUtil.isModuleContentRoot(virtualFile, psiDirectory.getProject())) { data.setIcon(new SourceRootIconProvider.DirectoryProvider().getIcon(psiDirectory, 0)); } else { super.setupIcon(data, psiDirectory); } }