|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtheque.metrics.services.impl.utils.count.MethodPointer
public final class MethodPointer
A pointer on a method.
Constructor Summary | |
---|---|
MethodPointer(Method method,
int startLine,
int stopLine)
Construct a new MethodPointer. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodPointer(Method method, int startLine, int stopLine)
method
- The method.startLine
- The start line of the constructor.stopLine
- The stop line of the constructor.Method Detail |
---|
public int getStartLine()
Pointer
getStartLine
in interface Pointer
public int getStopLine()
Pointer
getStopLine
in interface Pointer
public void setLinesOfCode(int lines)
Pointer
setLinesOfCode
in interface Pointer
lines
- The number of lines of code.public void setPhysicalLines(int lines)
Pointer
setPhysicalLines
in interface Pointer
lines
- The number of physical lines.public void setCommentLines(int lines)
Pointer
setCommentLines
in interface Pointer
lines
- The number of comment lines.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |