View Javadoc
1 package junit.quilt.cover.state; 2 3 /*** 4 * Just a simple skeleton of what we need from a basicblock for reporting 5 * purposes. BasicBlocks are the nodes in the StateMachine. 6 * 7 * @author <a href="mailto:markpollack@users.sourceforge.net">Mark Pollack</a> 8 * @version @VERSION@ 9 */ 10 11 public class BasicBlock { 12 13 14 private int fStartLine; 15 16 private int fEndLine; 17 18 19 /*** 20 * Creates a new <code>BasicBlock</code> instance. 21 * 22 * @param starteLine The source code line number where the basic block 23 * starts. 24 * @param endLine The source code line number where the basic block ends 25 */ 26 public BasicBlock (int startLine, int endLine){ 27 fStartLine = startLine; 28 fEndLine = endLine; 29 } 30 31 32 /*** 33 * Get the value of fStartLine. 34 * @return value of fStartLine. 35 */ 36 public int getStartLine() { 37 return fStartLine; 38 } 39 40 /*** 41 * Get the value of fEndLine. 42 * @return value of fEndLine. 43 */ 44 public int getEndLine() { 45 return fEndLine; 46 } 47 48 49 }// BasicBlock

This page was automatically generated by Maven