private static boolean isPhasedSyncEnabledImpl(@NotNull ProjectResolverContext context) {
    if (!Registry.is("gradle.phased.sync.enabled")) {
      LOG.debug("The phased Gradle sync isn't applicable: disabled by registry");
      return false;
    }
    if (!context.isResolveModulePerSourceSet()) {
      LOG.debug("The phased Gradle sync isn't applicable: unsupported sync mode with isResolveModulePerSourceSet = false");
      return false;
    }
    if (!context.isUseQualifiedModuleNames()) {
      LOG.debug("The phased Gradle sync isn't applicable: unsupported sync mode with isUseQualifiedModuleNames = false");
      return false;
    }
    return true;
  }
private static boolean isPhasedSyncEnabledImpl(@NotNull ProjectResolverContext context)