tools/android/dependency_analysis/package_dependency.py
def add_class_dependency_edge(self, end_package: 'JavaPackage',
                                  begin_class: class_dependency.JavaClass,
                                  end_class: class_dependency.JavaClass):
        """Adds a class dependency edge as part of a package dependency.

        Each package dependency is comprised of one or more class dependencies,
        we manually update the nodes with this info when parsing class graphs.

        Args:
            end_package: the end node of the package dependency edge
                which starts from this node.
            begin_class: the start node of the class dependency edge.
            end_class: the end node of the class dependency edge.
        """
        class_edge = (begin_class, end_class)
        if class_edge not in self._class_dependency_edges[end_package]:
            self._class_dependency_edges[end_package].add(class_edge)
Adds a class dependency edge as part of a package dependency.

        Each package dependency is comprised of one or more class dependencies,
        we manually update the nodes with this info when parsing class graphs.

        Args:
            end_package: the end node of the package dependency edge
                which starts from this node.
            begin_class: the start node of the class dependency edge.
            end_class: the end node of the class dependency edge.
        
Adds a class dependency edge as part of a package dependency.
Each package dependency is comprised of one or more class dependencies,
we manually update the nodes with this info when parsing class graphs.
Adds a class dependency edge as part of a package dependency . Each package dependency is comprised of one or more class dependencies we manually update the nodes with this info when parsing class graphs .
def add_class_dependency_edge(self, end_package: 'JavaPackage',
                                  begin_class: class_dependency.JavaClass,
                                  end_class: class_dependency.JavaClass):
        class_edge = (begin_class, end_class)
        if class_edge not in self._class_dependency_edges[end_package]:
            self._class_dependency_edges[end_package].add(class_edge)
def add_class_dependency_edge ( self , end_package : 'JavaPackage' , begin_class : class_dependency . JavaClass , end_class : class_dependency . JavaClass ) : class_edge = ( begin_class , end_class ) if class_edge not in self . _class_dependency_edges [ end_package ] : self . _class_dependency_edges [ end_package ] . add ( class_edge )
Adds a class dependency edge as part of a package dependency.
Adds a class dependency edge as part of a package dependency .
"""Adds a class dependency edge as part of a package dependency.

        Each package dependency is comprised of one or more class dependencies,
        we manually update the nodes with this info when parsing class graphs.

        Args:
            end_package: the end node of the package dependency edge
                which starts from this node.
            begin_class: the start node of the class dependency edge.
            end_class: the end node of the class dependency edge.
        """
self
end_package
'JavaPackage'
the end node of the package dependency edge
which starts from this node.
the end node of the package dependency edge which starts from this node .
begin_class
class_dependency.JavaClass
the start node of the class dependency edge.
the start node of the class dependency edge .
end_class
class_dependency.JavaClass
the end node of the class dependency edge.
the end node of the class dependency edge .