public @NotNull GradleModelHolderState pollPendingState() {
    DefaultGradleLightBuild rootBuild = pollPendingConvertedRootBuild();
    Collection<DefaultGradleLightBuild> nestedBuilds = pollPendingConvertedNestedBuilds();
    Map<GradleModelId, Object> models = pollAllPendingConvertedModels();
    BuildEnvironment buildEnvironment = pollPendingBuildEnvironment();
    return new GradleModelHolderState(rootBuild, nestedBuilds, buildEnvironment, models);
  }
public @NotNull GradleModelHolderState pollPendingState()