protected void finish(MortgageCalculatorInputVariableTimePointJSON result) { if (fieldGeneratorTimePoint.have_value) { result.setTimePoint(fieldGeneratorTimePoint.value); fieldGeneratorTimePoint.have_value = false; } else if ((!(result.hasTimePoint())) && !allow_incomplete) { error("When parsing the object for %what%, the \"TimePoint\" field was missing."); } base.finish(result); }