Icon (int flags) { Icon actualIcon = myIcon == null ? super.getElementIcon(flags) : myIcon; RowIcon baseIcon = IconManager.getInstance().createLayeredIcon(this, actualIcon, ElementPresentationUtil.getFlags(this, false)); return ElementPresentationUtil.addVisibilityIcon(this, flags, baseIcon); }