void (JList list, PsiClass aClass, int index, boolean selected, boolean hasFocus) { if (aClass != null) { setText(getClassText(aClass)); int flags = Iconable.ICON_FLAG_VISIBILITY; if (myShowReadOnly) { flags |= Iconable.ICON_FLAG_READ_STATUS; } Icon icon = aClass.getIcon(flags); if (icon != null) { setIcon(icon); } } }