void (@NotNull DefaultActionGroup actionGroup) { super.prependActions(actionGroup); actionGroup.add(new ChangeScopeAction() { @Override protected boolean isEnabled() { return !Comparing.strEqual(getCurrentViewType(), getSupertypesHierarchyType()); } }); }