Class Edge

java.lang.Object
mockit.asm.controlFlow.Edge

public 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
    static final int
    Denotes a control flow graph edge corresponding to an exception handler.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Edge(int info, Label successor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setNext(Edge next)
    Sets the next edge.

    Methods inherited from class java.lang.Object

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

    • EXCEPTION

      public 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 type table of the classfile being written, of the exception that is caught.
      See Also:
  • Constructor Details

    • Edge

      public Edge(int info, @NonNull Label successor)
  • Method Details

    • setNext

      public void setNext(Edge next)
      Sets the next edge.