Icon (final boolean expanded) { if (isSyntheticJSP()) { final PsiElement element = getPsiElement(); if (element != null && element.isValid()) { IconManager iconManager = IconManager.getInstance(); if (iconManager instanceof CoreAwareIconManager) { return ((CoreAwareIconManager)iconManager).getIcon(element.getContainingFile().getVirtualFile(), Iconable.ICON_FLAG_VISIBILITY | Iconable.ICON_FLAG_READ_STATUS, element.getProject()); } } } return super.getIcon(expanded); }