Icon (final int flags) { final RowIcon baseIcon = IconManager.getInstance().createLayeredIcon(this, IconManager.getInstance().getPlatformIcon(PlatformIcons.Method), ElementPresentationUtil.getFlags(this, false)); if (BitUtil.isSet(flags, ICON_FLAG_VISIBILITY)) { VisibilityIcons.setVisibilityIcon(getContainingClass().getModifierList(), baseIcon); } return baseIcon; }