Class Edge

java.lang.Object
org.objectweb.asm.Edge

final class Edge extends Object
An edge in the control flow graph of a method. Each node of this graph is a basic block, represented with the Label corresponding to its first instruction. Each edge goes from one node to another, i.e. from one basic block to another (called the predecessor and successor blocks, respectively). An edge corresponds either to a jump or ret instruction. Exception handlers are not represented with explicit edges.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) Edge
    The next edge in the list of outgoing edges of a basic block.
    (package private) final int
    The stack size at the end of the predecessor block, minus the stack size at its beginning.
    (package private) final Label
    The successor block of this control flow graph edge.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Edge(int stackSizeDelta, Label successor, Edge nextEdge)
    Constructs a new Edge.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • stackSizeDelta

      final int stackSizeDelta
      The stack size at the end of the predecessor block, minus the stack size at its beginning. This field is only used with ClassWriter.COMPUTE_MAXS.
    • successor

      final Label successor
      The successor block of this control flow graph edge.
    • nextEdge

      Edge nextEdge
      The next edge in the list of outgoing edges of a basic block. See Label.outgoingEdges.
  • Constructor Details