public int getVariants(int addr) {
        if (featOkTst && casFeat_variants == null)
      jcas.throwFeatMissing("variants", "edu.cmu.lti.oaqa.type.answer.Answer");
    return ll_cas.ll_getRefValue(addr, casFeatCode_variants);
  }
public int getVariants ( int addr ) { if ( featOkTst && casFeat_variants == null ) jcas . throwFeatMissing ( "variants" , "edu.cmu.lti.oaqa.type.answer.Answer" ) ; return ll_cas . ll_getRefValue ( addr , casFeatCode_variants ) ; }
@generated
@param addr low level Feature Structure reference
@return the feature value