code: def imported(self, target, coordinate, jar):
      
      if not isinstance(target, ImportJarsMixin):
        raise ValueError('The given target is not an `ImportJarsMixin`: {}'.format(target))
      self._imports[target].append(self.JarImport(coordinate, jar))
docs: Registers a :class`JarImportProducts.JarImport` for the given target.
  
      :param target: The :class:`pants.backend.jvm.targets.import_jars_mixin.ImportJarsMixin` target
                     whose `all_imported_jar_deps` were resolved.
      :param coordinate: The maven coordinate of the import jar.
      :type coordinate: :class:`pants.java.jar_utls.M2Coordinate`
      :param string jar: The path of the resolved import jar.