class CaptureModel {

  public void setDetails(@Nullable CaptureDetails.Type type) {
    if (type != null && myDetails != null && type == myDetails.getType()) {
      return;
    }

    FeatureTracker tracker = myStage.getStudioProfilers().getIdeServices().getFeatureTracker();
    if (type != null) {
      DETAILS_TRACKERS.get(type).accept(tracker);
    }
    rebuildDetails(type);
  }

  public  CaptureModel(@NotNull CpuProfilerStage stage);

}