void (@NotNull InspectionProfileModifiableModel profile) { final SingleInspectionProfilePanel panel = getProfilePanel(profile); removeProfile(profile); myDeletedProfiles.add(profile); onProfileRemoved(panel); }