7cdea9ac3f266d7468e8aea114ff41a09fbb0cf2,src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py,ProtobufGen,protobuf_binary,#ProtobufGen#,86

Before Change



  @memoized_property
  def protobuf_binary(self):
    binary_util = BinaryUtil.Factory.create()
    return binary_util.select_binary(self.get_options().supportdir,
                                     self.get_options().version,
                                     "protoc")

  @property
  def javadeps(self):
    return self.resolve_deps(self.get_options().javadeps or [])

After Change



  @property
  def protobuf_binary(self):
    return Protoc.scoped_instance(self).select(context=self.context)

  @property
  def javadeps(self):
    return self.resolve_deps(self.get_options().javadeps or [])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: pantsbuild/pants
Commit Name: 7cdea9ac3f266d7468e8aea114ff41a09fbb0cf2
Time: 2018-02-13
Author: benjyw@gmail.com
File Name: src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py
Class Name: ProtobufGen
Method Name: protobuf_binary


Project Name: pantsbuild/pants
Commit Name: 114f2fff37d779d1ac57cbc23751a03df261c86a
Time: 2018-02-25
Author: benjyw@gmail.com
File Name: src/python/pants/backend/codegen/ragel/java/ragel_gen.py
Class Name: RagelGen
Method Name: ragel_binary


Project Name: pantsbuild/pants
Commit Name: 114f2fff37d779d1ac57cbc23751a03df261c86a
Time: 2018-02-25
Author: benjyw@gmail.com
File Name: src/python/pants/backend/graph_info/tasks/cloc.py
Class Name: CountLinesOfCode
Method Name: _get_cloc_script