junit.quilt.cover.generic
Class SelectEdge

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

public class SelectEdge
extends FlowControlEdge


Constructor Summary
SelectEdge(BlockVertex source, BlockVertex target, java.lang.String expr)
           
SelectEdge(BlockVertex source, BlockVertex target, java.lang.String expr, int 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 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

SelectEdge

public SelectEdge(BlockVertex source,
                  BlockVertex target,
                  java.lang.String expr,
                  int value)

SelectEdge

public SelectEdge(BlockVertex source,
                  BlockVertex target,
                  java.lang.String expr)
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.