|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.metrics.utils.elements.Method
public final class Method
Represent a method.
| Constructor Summary | |
|---|---|
Method(String name)
Construct a new Method. |
|
| Method Summary | |
|---|---|
int |
getCodeLines()
Return the number of lines of code of the method. |
int |
getCommentLines()
Return the number of comment lines of the method. |
String |
getName()
Return the name of the method. |
int |
getPhysicalLines()
Return the number of physical lines of the method. |
void |
setCodeLines(int codeLines)
Set the number of lines of code of the method. |
void |
setCommentLines(int commentLines)
Set the number of comment lines of the method. |
void |
setPhysicalLines(int physicalLines)
Set the number of physical lines of the constructor. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Method(String name)
name - The name of Method.| Method Detail |
|---|
public int getCodeLines()
public void setCodeLines(int codeLines)
codeLines - The number of lines of code of the method.public int getCommentLines()
public void setCommentLines(int commentLines)
commentLines - The number of comment lines of the method.public int getPhysicalLines()
public void setPhysicalLines(int physicalLines)
physicalLines - The number of physical lines of the method.public String getName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||