ed2b7179100e2d1b8a14e96429989136d5449d87,src/python/pants/backend/jvm/tasks/scalafix.py,ScalaFix,_compute_classpath,#ScalaFix#Any#,54

Before Change


      round_manager.require_data("runtime_classpath")

  def _compute_classpath(self, targets):
    classpaths = self.context.products.get_data("runtime_classpath")
    return [entry for _, entry in classpaths.get_for_targets(targets)]

  def invoke_tool(self, absolute_root, target_sources):
    args = []

After Change


                                 include_scopes=Scopes.JVM_RUNTIME_SCOPES, respect_intransitive=True)
    classpath_for_targets = ClasspathUtil.classpath(closure, runtime_classpath)

    return classpath_for_targets

  def invoke_tool(self, absolute_root, target_sources):
    args = []
    tool_classpath = self.tool_classpath("scalafix-tool-classpath")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: ed2b7179100e2d1b8a14e96429989136d5449d87
Time: 2019-07-12
Author: 1862202+wiwa@users.noreply.github.com
File Name: src/python/pants/backend/jvm/tasks/scalafix.py
Class Name: ScalaFix
Method Name: _compute_classpath


Project Name: pantsbuild/pants
Commit Name: f2c6d6e6a15a574ddff55b8eaa291ed86f867859
Time: 2014-01-08
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/jvm_tool_bootstrapper.py
Class Name: JvmToolBootstrapper
Method Name: get_jvm_tool_classpath


Project Name: pantsbuild/pants
Commit Name: 8a656213dceaceb0588fc61c8f9d5ffd633990bf
Time: 2015-04-17
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py
Class Name: JvmToolTaskMixin
Method Name: tool_classpath