private static boolean isLexemeBoundary(@Nullable IElementType leftTokenType,
                                          @Nullable IElementType rightTokenType) {
    return leftTokenType != null &&
           rightTokenType != null &&
           LanguageWordBoundaryFilter.getInstance().forLanguage(rightTokenType.getLanguage())
             .isWordBoundary(leftTokenType, rightTokenType);
  }
private static boolean isLexemeBoundary(@Nullable IElementType leftTokenType,
                                          @Nullable IElementType rightTokenType)