junit.quilt.cover.generic
Class ReturnEdge

java.lang.Object
  |
  +--junit.quilt.cover.generic.FlowControlEdge
        |
        +--junit.quilt.cover.generic.ReturnEdge
All Implemented Interfaces:
org.apache.commons.graph.Edge

public class ReturnEdge
extends FlowControlEdge


Constructor Summary
ReturnEdge(BlockVertex source)
           
 
Method Summary
 void connect(org.apache.bcel.generic.MethodGen method, org.apache.bcel.generic.InstructionList il, org.apache.bcel.generic.InstructionHandle source, org.apache.bcel.generic.InstructionHandle target)
           
 FlowControlEdge copy(BlockVertex source, BlockVertex target)
          This should work like clone, but it returns a FlowControlEdge.
 java.lang.String toString()
           
 
Methods inherited from class junit.quilt.cover.generic.FlowControlEdge
getSource, getTarget, setSource, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReturnEdge

public ReturnEdge(BlockVertex source)
Method Detail

connect

public void connect(org.apache.bcel.generic.MethodGen method,
                    org.apache.bcel.generic.InstructionList il,
                    org.apache.bcel.generic.InstructionHandle source,
                    org.apache.bcel.generic.InstructionHandle target)
             throws InvalidTransitionException
Overrides:
connect in class FlowControlEdge

copy

public FlowControlEdge copy(BlockVertex source,
                            BlockVertex target)
Description copied from class: FlowControlEdge
This should work like clone, but it returns a FlowControlEdge. All edges must implement this, otherwise the JSRInliner will not work. As the Vertices are "copy"ed as well, we need to provide them too.
Overrides:
copy in class FlowControlEdge

toString

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


Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.