```- # Compute jar -> target. - self.cont...
# general
b
Copy code
-    # Compute jar -> target.
-    self.context.log.debug('Mapping jars...')
-    compile_classpath = self.context.products.get_data('compile_classpath')
-    for jar_lib in self.context.targets(lambda t: isinstance(t, JarLibrary)):
-      for _, artifact_path in compile_classpath.get_for_target(jar_lib, transitive=False):
-        targets_by_file[artifact_path].add(jar_lib)