Icon (@NotNull PsiElement element, @Iconable.IconFlags int flags) { Icon providersIcon = PsiIconUtil.getProvidersIcon(element, flags); if (providersIcon != null) { if (providersIcon instanceof RowIcon) { return providersIcon; } else { return IconManager.getInstance().createLayeredIcon(element, providersIcon, flags); } } return ((ElementBase)element).getElementIcon(flags); }