aa8d52e1a3e0fa1f3d8fdbf4877fa29fb013b818,src/python/pants/backend/codegen/register.py,,build_file_aliases,#,29
Before Change
def build_file_aliases():
return BuildFileAliases(
targets={
"java_antlr_library": JavaAntlrLibrary,
"java_protobuf_library": JavaProtobufLibrary,
"java_ragel_library": JavaRagelLibrary,
"java_thrift_library": JavaThriftLibrary,
"java_wire_library": JavaWireLibrary,
"python_antlr_library": PythonAntlrLibrary,
"python_thrift_library": PythonThriftLibrary,
"python_grpcio_library": PythonGrpcioLibrary,
"jaxb_library": JaxbLibrary,
}
)
def register_goals():
task(name="thrift-java", action=ApacheThriftJavaGen).install("gen")
After Change
def build_file_aliases():
return BuildFileAliases(
targets={
"java_antlr_library": JavaAntlrLibraryV1,
"java_protobuf_library": JavaProtobufLibraryV1,
"java_ragel_library": JavaRagelLibraryV1,
"java_thrift_library": JavaThriftLibraryV1,
"java_wire_library": JavaWireLibraryV1,
"python_antlr_library": PythonAntlrLibraryV1,
"python_thrift_library": PythonThriftLibraryV1,
"python_grpcio_library": PythonGrpcioLibraryV1,
"jaxb_library": JaxbLibraryV1,
}
)
def register_goals():
task(name="thrift-java", action=ApacheThriftJavaGen).install("gen")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: pantsbuild/pants
Commit Name: aa8d52e1a3e0fa1f3d8fdbf4877fa29fb013b818
Time: 2020-04-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/codegen/register.py
Class Name:
Method Name: build_file_aliases
Project Name: pantsbuild/pants
Commit Name: 2cbacb78485adac23f24b65037a4a46b6fd9a40c
Time: 2014-07-23
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/tasks/test_depmap.py
Class Name: DepmapTest
Method Name: alias_groups
Project Name: tensorflow/datasets
Commit Name: 48ac31c254ba0c8f4caebabfda3cc5bade839fda
Time: 2020-06-30
Author: no-reply@google.com
File Name: tensorflow_datasets/text/civil_comments.py
Class Name: CivilComments
Method Name: _info
Project Name: pantsbuild/pants
Commit Name: db453250869129460954c1fa45365a0cc7b26d52
Time: 2020-04-03
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/filedeps_test.py
Class Name: FileDepsTest
Method Name: alias_groups