code: protected int[] toHyphenationPoints() {
  
      int internalOffset = this.offset + 1;
      int hyphenationCount = 0;
      for (int i = 0; i < this.rankings.length; i++) {
        if ((this.rankings[i] & 1) == 1) {
          // odd ranking --> hyphenation...
          hyphenationCount++;
        }
      }
      int[] hyphenationPoints = new int[hyphenationCount];
      hyphenationCount = 0;
      for (int i = 0; i < this.rankings.length; i++) {
        if ((this.rankings[i] & 1) == 1) {
          // odd ranking --> hyphenation...
          hyphenationPoints[hyphenationCount] = internalOffset + i;
          hyphenationCount++;
        }
      }
      return hyphenationPoints;
    }
docs: This method creates the {@link HyphenationImpl#HyphenationImpl(String, char, int[]) hyphenationPoints} of
  a hyphenated word.
  
  @see #toHyphenation()
  
  @return the hyphenation points.