| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.BraceRule
BraceRule | public class BraceRule extends InspectorBase (Code) | | Complex statements like do, while, for, if, else need a brace enclosed block.
author: Pavel Vlasov version: $Revision: 1.2 $ |
Method Summary | |
public void | visit(IfStatement statement) Reviews the if statements. | public void | visit(DoStatement statement) Reviews the do loops. | public void | visit(ForStatement statement) Reviews the for loops. | public void | visit(WhileStatement statement) Reviews the while loops. |
visit | public void visit(IfStatement statement)(Code) | | Reviews the if statements.
Parameters: statement - the if statement to be reviewed |
visit | public void visit(DoStatement statement)(Code) | | Reviews the do loops.
Parameters: statement - the do statement to be reviewed. |
visit | public void visit(ForStatement statement)(Code) | | Reviews the for loops.
Parameters: statement - the for statement to be reviewed. |
visit | public void visit(WhileStatement statement)(Code) | | Reviews the while loops.
Parameters: statement - the while statement to be reviewed. |
|
|