void (PresentationData data, PsiDirectory psiDirectory) { final VirtualFile virtualFile = psiDirectory.getVirtualFile(); if (PlatformUtils.isAppCode()) { final Icon icon = IconUtil.getIcon(virtualFile, 0, myProject); data.setIcon(icon); } else { Icon icon = CompoundIconProvider.findIcon(psiDirectory, 0); if (icon != null) data.setIcon(icon); } }