public int getDocumentSize(int addr) {
        if (featOkTst && casFeat_documentSize == null)
      jcas.throwFeatMissing("documentSize", "edu.lti.cmu.hw1.typesys.SourceDocInfo");
    return ll_cas.ll_getIntValue(addr, casFeatCode_documentSize);
  }