8a656213dceaceb0588fc61c8f9d5ffd633990bf,src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py,JvmToolTaskMixin,tool_classpath,#JvmToolTaskMixin#Any#Any#,61
Before Change
Returns a list of paths.
scope = scope or self.options_scope
callback_product_map = (self.context.products.get_data("jvm_build_tools_classpath_callbacks")
or {})
callback = callback_product_map.get(scope, {}).get(key)
if not callback:
raise TaskError("No bootstrap callback registered for {key} in {scope}".format(
key=key, scope=scope))
return callback()
After Change
Returns a list of paths.
return self.lazy_tool_classpath(key, scope=scope)()
def lazy_tool_classpath(self, key, scope=None):
Get a lazy classpath for the tool previously registered under the key in the given scope.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances 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
Project Name: pantsbuild/pants
Commit Name: 34c1c7c1b671156c177c16824a47c2afad124751
Time: 2018-10-18
Author: clivingston45@gmail.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checkstyle.py
Class Name: Checkstyle
Method Name: checkstyle
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