org.jtheque.metrics.services.impl.utils.count
Interface Pointer

All Known Implementing Classes:
ConstructorPointer, MethodPointer

public interface Pointer

A line pointer. It seems an object who refers to a certain portion of code and needs to be counted.

Author:
Baptiste Wicht

Method Summary
 int getStartLine()
          Return the start line of the pointer.
 int getStopLine()
          Return the stop line of the pointer.
 void setCommentLines(int lines)
          Set the final number of comment lines for this pointer.
 void setLinesOfCode(int lines)
          Set the final number of lines of code for this pointer.
 void setPhysicalLines(int lines)
          Set the final number of physical lines for this pointer.
 

Method Detail

getStartLine

int getStartLine()
Return the start line of the pointer.

Returns:
The start line of the pointer.

getStopLine

int getStopLine()
Return the stop line of the pointer.

Returns:
The stop line of the pointer.

setLinesOfCode

void setLinesOfCode(int lines)
Set the final number of lines of code for this pointer.

Parameters:
lines - The number of lines of code.

setPhysicalLines

void setPhysicalLines(int lines)
Set the final number of physical lines for this pointer.

Parameters:
lines - The number of physical lines.

setCommentLines

void setCommentLines(int lines)
Set the final number of comment lines for this pointer.

Parameters:
lines - The number of comment lines.


Copyright © 2010 JTheque. All Rights Reserved.