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: 3
Non-data size: 5
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: 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
Project Name: pantsbuild/pants
Commit Name: 40ba9d9ad77d8be6176226eab746c52bf8495034
Time: 2020-07-02
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/test_base.py
Class Name: TestBase
Method Name: alias_groups