@Override
  public @NotNull String buildErrorString(Object... infos) {
    if (infos[0] instanceof PsiMethodReferenceExpression) {
      return InspectionGadgetsBundle.message("result.of.object.allocation.ignored.problem.descriptor.methodRef");
    }
    return InspectionGadgetsBundle.message("result.of.object.allocation.ignored.problem.descriptor");
  }
@Override
  public @NotNull String buildErrorString(Object... infos)