ExternalProfilesComboboxAwareInspectionToolsConfigurable (ProjectInspectionProfileManager projectProfileManager, SchemesCombo<InspectionProfileImpl> profilesCombo) { return new ExternalProfilesComboboxAwareInspectionToolsConfigurable(projectProfileManager, profilesCombo) { @Override protected boolean acceptTool(InspectionToolWrapper entry) { return super.acceptTool(entry) && entry.isCleanupTool(); } @Override public String getDisplayName() { return InspectionsBundle.message("configurable.name.code.cleanup.inspections"); } }; }