void (@NotNull String shortName) { InspectionProfileImpl profile = InspectionProjectProfileManager.getInstance(getProject()).getCurrentProfile(); if (profile.getInspectionTool(shortName, getProject()) != null) { profile.setToolEnabled(shortName, false); } }