Package org.objectweb.asm
Class Edge
java.lang.Object
org.objectweb.asm.Edge
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
FieldsModifier and TypeFieldDescription(package private) EdgeThe next edge in the list of outgoing edges of a basic block.(package private) final intThe stack size at the end of the predecessor block, minus the stack size at its beginning.(package private) final LabelThe successor block of this control flow graph edge. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stackSizeDelta
final int stackSizeDeltaThe stack size at the end of the predecessor block, minus the stack size at its beginning. This field is only used withClassWriter.COMPUTE_MAXS. -
successor
The successor block of this control flow graph edge. -
nextEdge
Edge nextEdgeThe next edge in the list of outgoing edges of a basic block. SeeLabel.outgoingEdges.
-
-
Constructor Details
-
Edge
Constructs a new Edge.- Parameters:
stackSizeDelta- seestackSizeDelta.successor- seesuccessor.nextEdge- seenextEdge.
-