docs: private void endStreak() {
      if (currentStreakLength == 0) {
        return;
      }
  
      if (currentStreakLength == 1) {
        // A single frame isn't a streak. Just include the frame as-is in the result.
        cleanedStackTrace.add(lastStackFrameElementWrapper);
      } else {
        // Add a single frame to the result summarizing the streak of framework frames
        cleanedStackTrace.add(createStreakReplacementFrame(currentStreakType, currentStreakLength));
      }
  
      clearStreak();
    }