Class Edge

java.lang.Object
org.eclipse.sisu.space.asm.Edge

final class Edge extends Object
An edge in the control flow graph of a method body. See Label.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final int
    Denotes a control flow graph edge corresponding to an exception handler.
    (package private) int
    Information about this control flow graph edge.
    (package private) Edge
    The next edge in the list of successors of the originating basic block.
    (package private) static final int
    Denotes a normal control flow graph edge.
    (package private) Label
    The successor block of the basic block from which this edge originates.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • NORMAL

      static final int NORMAL
      Denotes a normal control flow graph edge.
      See Also:
    • EXCEPTION

      static final int EXCEPTION
      Denotes a control flow graph edge corresponding to an exception handler. More precisely any Edge whose info is strictly positive corresponds to an exception handler. The actual value of info is the index, in the ClassWriter type table, of the exception that is catched.
      See Also:
    • info

      int info
      Information about this control flow graph edge. If ClassWriter.COMPUTE_MAXS is used this field is the (relative) stack size in the basic block from which this edge originates. This size is equal to the stack size at the "jump" instruction to which this edge corresponds, relatively to the stack size at the beginning of the originating basic block. If ClassWriter.COMPUTE_FRAMES is used, this field is the kind of this control flow graph edge (i.e. NORMAL or EXCEPTION).
    • successor

      Label successor
      The successor block of the basic block from which this edge originates.
    • next

      Edge next
      The next edge in the list of successors of the originating basic block. See successors.
  • Constructor Details

    • Edge

      Edge()