@NotNull
  private static String findLongestWord(@NotNull String sequence) {
    final List<String> words = StringUtil.getWordsIn(sequence);
    if (words.isEmpty()) return sequence;

    String longest = words.get(0);
    for (String word : words) {
      if (word.length() > longest.length()) longest = word;
    }

    return longest;
  }
@NotNull
  private static String findLongestWord(@NotNull String sequence)