tools/android/dependency_analysis/print_package_dependencies.py
def print_package_dependencies_for_edge(begin, end):
    """Prints dependencies for an edge in the package graph.

    Since these are package edges, we also print the class dependency edges
    comprising the printed package edge.
    """
    if begin == end:
        return
    print(f'\t{begin.name} -> {end.name}')
    class_deps = begin.get_class_dependencies_in_outbound_edge(end)
    print(f'\t{len(class_deps)} class edge(s) comprising the dependency:')
    for begin_class, end_class in graph.sorted_edges_by_name(class_deps):
        print(f'\t\t{begin_class.class_name} -> {end_class.class_name}')
Prints dependencies for an edge in the package graph.

    Since these are package edges, we also print the class dependency edges
    comprising the printed package edge.
    
Prints dependencies for an edge in the package graph.
Since these are package edges, we also print the class dependency edges
comprising the printed package edge.
Prints dependencies for an edge in the package graph . Since these are package edges we also print the class dependency edges comprising the printed package edge .
def print_package_dependencies_for_edge(begin, end):
    if begin == end:
        return
    print(f'\t{begin.name} -> {end.name}')
    class_deps = begin.get_class_dependencies_in_outbound_edge(end)
    print(f'\t{len(class_deps)} class edge(s) comprising the dependency:')
    for begin_class, end_class in graph.sorted_edges_by_name(class_deps):
        print(f'\t\t{begin_class.class_name} -> {end_class.class_name}')
def print_package_dependencies_for_edge ( begin , end ) : if begin == end : return print ( f'\t{begin.name} -> {end.name}' ) class_deps = begin . get_class_dependencies_in_outbound_edge ( end ) print ( f'\t{len(class_deps)} class edge(s) comprising the dependency:' ) for begin_class , end_class in graph . sorted_edges_by_name ( class_deps ) : print ( f'\t\t{begin_class.class_name} -> {end_class.class_name}' )
Prints dependencies for an edge in the package graph.
Prints dependencies for an edge in the package graph .
"""Prints dependencies for an edge in the package graph.

    Since these are package edges, we also print the class dependency edges
    comprising the printed package edge.
    """
begin
end