Icon (int flags) { Icon methodIcon; IconManager iconManager = IconManager.getInstance(); if (myBaseIcon == null) { methodIcon = iconManager.getPlatformIcon(hasModifierProperty(PsiModifier.ABSTRACT) ? PlatformIcons.AbstractMethod : PlatformIcons.Method); } else { methodIcon = myBaseIcon; } RowIcon baseIcon = iconManager.createLayeredIcon(this, methodIcon, ElementPresentationUtil.getFlags(this, false)); return ElementPresentationUtil.addVisibilityIcon(this, flags, baseIcon); }