0c5f68f79b76fb76aa46c5c0ce1bee3e04092b0e,src/python/pants/backend/codegen/tasks/antlr_gen.py,AntlrGen,synthetic_target_extra_dependencies,#AntlrGen#Any#,88

Before Change



  def synthetic_target_extra_dependencies(self, target):
    // Fetch the right java dependency from the target"s compiler option
    return self.resolve_deps(self.get_options()[target.compiler])

  // This checks to make sure that all of the sources have an identical package source structure, and
  // if they do, uses that as the package. If they are different, then the user will need to set the
  // package as it cannot be correctly inferred.

After Change


  def synthetic_target_extra_dependencies(self, target):
    // Fetch the right java dependency from the target"s compiler option
    compiler_classpath_spec = self.get_options()[target.compiler]
    return self.resolve_deps([compiler_classpath_spec])

  // This checks to make sure that all of the sources have an identical package source structure, and
  // if they do, uses that as the package. If they are different, then the user will need to set the
  // package as it cannot be correctly inferred.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 0c5f68f79b76fb76aa46c5c0ce1bee3e04092b0e
Time: 2015-09-08
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/codegen/tasks/antlr_gen.py
Class Name: AntlrGen
Method Name: synthetic_target_extra_dependencies


Project Name: pantsbuild/pants
Commit Name: 0c5f68f79b76fb76aa46c5c0ce1bee3e04092b0e
Time: 2015-09-08
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/codegen/tasks/wire_gen.py
Class Name: WireGen
Method Name: synthetic_target_extra_dependencies


Project Name: pantsbuild/pants
Commit Name: dbf24ddc30cb705cb7e6ca9088582aa6ad42858f
Time: 2015-02-09
Author: zundel@squareup.com
File Name: src/python/pants/backend/codegen/tasks/protobuf_gen.py
Class Name: ProtobufGen
Method Name: pythondeps


Project Name: pantsbuild/pants
Commit Name: 8644bcae650cf01b682db6a7dc5af223c53532ad
Time: 2015-02-09
Author: zundel@squareup.com
File Name: src/python/pants/backend/codegen/tasks/protobuf_gen.py
Class Name: ProtobufGen
Method Name: pythondeps