public void setLastSegment(boolean v) {
    if (SourceDocInfo_Type.featOkTst && ((SourceDocInfo_Type)jcasType).casFeat_lastSegment == null)
      jcasType.jcas.throwFeatMissing("lastSegment", "edu.lti.cmu.hw1.typesys.SourceDocInfo");
    jcasType.ll_cas.ll_setBooleanValue(addr, ((SourceDocInfo_Type)jcasType).casFeatCode_lastSegment, v);}