code: def get_product_target_mappings_for_targets(self, targets, respect_excludes=True):
      
      classpath_target_tuples = self._classpaths.get_product_target_mappings_for_targets(targets)
      if respect_excludes:
        return self._filter_by_excludes(classpath_target_tuples, targets)
      else:
        return classpath_target_tuples
docs: Gets the classpath products-target associations for the given targets.
  
      Product-target tuples are returned in order, optionally respecting target excludes.
  
      :param targets: The targets to lookup classpath products for.
      :param bool respect_excludes: `True` to respect excludes; `False` to ignore them.
      :returns: The ordered (classpath products, target) tuples.