code: public int getRightIndexFromSNode(SSpan s) 
    {
      
      RelannisNodeFeature feat =
        (RelannisNodeFeature) s.getFeature(SaltUtil.createQName(ANNIS_NS,
            FEAT_RELANNIS_NODE)).getValue_SOBJECT();
      return (int) feat.getRightToken();
    }
docs: Get the most right token index of a SSpan.