docs: public int getStateId(LR0ItemSet targetSet) throws GrammarException {
  	int id = itemSetCollection.indexOf(targetSet);
  	if (id >= 0) {
  	    return id;
  	}
  	throw new GrammarException("Target set '" + targetSet
  		+ "' was not found!");
      }