@Override
    void registerStageFinished(@NotNull StructuredIdeActivity parentActivity,
                               @Nullable StructuredIdeActivity childActivity,
                               @NotNull DumbModeStatisticsCollector.IndexingFinishType finishType) {
      if (childActivity != null) {
        childActivity.finished(() -> {
          return Arrays.asList(FINISH_TYPE.with(finishType), DumbModeStatisticsCollector.STAGE_CLASS.with(getTask().getClass()));
        });
      }
    }
@Override
    void registerStageFinished(@NotNull StructuredIdeActivity parentActivity,
                               @Nullable StructuredIdeActivity childActivity,
                               @NotNull DumbModeStatisticsCollector.IndexingFinishType finishType)