junit.quilt.cover.generic
Class BranchEdge

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

public class BranchEdge
extends FlowControlEdge


Constructor Summary
BranchEdge(BlockVertex start, BlockVertex target, java.lang.String expr, boolean value)
           
 
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 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

BranchEdge

public BranchEdge(BlockVertex start,
                  BlockVertex target,
                  java.lang.String expr,
                  boolean value)
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 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.