junit.quilt.cover.generic
Class NormalEdge

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

public class NormalEdge
extends FlowControlEdge


Constructor Summary
NormalEdge(BlockVertex source, BlockVertex target)
           
 
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 start, BlockVertex end)
          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

NormalEdge

public NormalEdge(BlockVertex source,
                  BlockVertex target)
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 start,
                            BlockVertex end)
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.