code: void initResolve() {
          featureNamesToResolve = new HashSet<>();
          samplesToInstall = new ArrayList<>();
          resolvedFeatures = new HashMap<>();
          requestedFeatureNames = new HashSet<>();
          featuresMissing = new ArrayList<>();
          resourcesWrongProduct = new ArrayList<>();
          requirementsFoundForOtherProducts = new HashSet<>();
          missingTopLevelRequirements = new ArrayList<>();
          missingRequirements = new ArrayList<>();
          resolverRepository.clearPreferredVersions();
      }
docs: Initialize all the fields used for a resolution