code: def imported_targets(self):
      
      libs = []
      for spec in self.imported_target_specs(payload=self.payload):
        resolved_target = self._build_graph.get_target_from_spec(spec,
                                                                 relative_to=self.address.spec_path)
        if not resolved_target:
          raise self.UnresolvedImportError(
            'Could not find target {spec} referenced from {relative_to}'
            .format(spec=spec, relative_to=self.address.spec))
        try:
          libs.append(self.expected_target_constraint.validate_satisfied_by(resolved_target))
        except TypeConstraintError as e:
          raise self.WrongTargetTypeError(
            'Wrong target type {spec} referenced from remote sources target {relative_to}: {err}'
            .format(spec=spec, relative_to=self.address.spec, err=str(e)),
            e)
      return libs
docs: :returns: target instances for specs referenced by imported_target_specs.
      :rtype: list of Target