code: def _inject_target(self, target_adaptor):
      
      target_cls = self._target_types[target_adaptor.type_alias]
  
      declared_deps = target_adaptor.dependencies
      implicit_deps = (Address.parse(s,
                                     relative_to=target_adaptor.address.spec_path,
                                     subproject_roots=self._address_mapper.subproject_roots)
                       for s in target_cls.compute_dependency_specs(kwargs=target_adaptor.kwargs()))
      for dep in declared_deps:
        self._dependent_address_map[dep].add(target_adaptor.address)
      for dep in implicit_deps:
        self._implicit_dependent_address_map[dep].add(target_adaptor.address)
docs: Inject a target, respecting all sources of dependencies.