|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.pmd.rules.design.SwitchDensityRule.SwitchDensity
| Field Summary | |
private int |
labels
|
private int |
stmts
|
| Constructor Summary | |
SwitchDensityRule.SwitchDensity()
|
|
| Method Summary | |
void |
addStatement()
|
void |
addStatements(int stmtCount)
|
void |
addSwitchLabel()
|
double |
getDensity()
|
int |
getStatementCount()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int labels
private int stmts
| Constructor Detail |
public SwitchDensityRule.SwitchDensity()
| Method Detail |
public void addSwitchLabel()
public void addStatement()
public void addStatements(int stmtCount)
public int getStatementCount()
public double getDensity()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||