@Override
  @NotNull
  protected String buildErrorString(Object... infos) {
    return (Boolean)infos[0] ?
           InspectionGadgetsBundle.message("enum.singleton.problem.descriptor") :
           InspectionGadgetsBundle.message("singleton.problem.descriptor");
  }
@Override
  @NotNull
  protected String buildErrorString(Object... infos)