public static InspectionProfileEntry getInspection(@NotNull InspectionProfile profile, @NonNls String shortName) {
    final InspectionToolWrapper<?, ?> wrapper = profile.getInspectionTool(shortName, (Project)null);
    assert wrapper != null;
    return wrapper.getTool();
  }
public static InspectionProfileEntry getInspection(@NotNull InspectionProfile profile, @NonNls String shortName)