code: public static SuffixData createWithLCP(int[] input, int start, int length,
                                             ISuffixArrayBuilder builder) {
          final int[] sa = builder.buildSuffixArray(input, start, length);
          final int[] lcp = computeLCP(input, start, length, sa);
          return new SuffixData(sa, lcp);
      }
docs: Create a suffix array and an LCP array for a given input sequence of symbols and a
  custom suffix array building strategy.