Class CallGraphEdge

    • Constructor Detail

      • CallGraphEdge

        public CallGraphEdge​(CallGraphNode source,
                             CallGraphNode destination)
        Build the edge.
        Parameters:
        source - the source node
        destination - the destination node
    • Method Detail

      • canBeSimplified

        public boolean canBeSimplified()
        Description copied from interface: Edge
        Yields true if and only if this edge could be simplified if one of the nodes connected to it is simplified (i.e., removed from the graph).
        Specified by:
        canBeSimplified in interface Edge<CallGraphNode,​CallGraphEdge,​BaseCallGraph>
        Returns:
        whether or not this edge can be simplified
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object