| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.LogicalNestingRule
LogicalNestingRule | public class LogicalNestingRule extends InspectorBase implements Parameterizable(Code) | | ER-030
Logical nesting limit exceeded
author: Janos Czako version: $Revision: 1.7 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures rule. | public void | visit(CompoundStatement element) Reviews the statements, if their nesting is too deep. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object parameter) throws ConfigurationException(Code) | | Configures rule. Reads in the values of the parameter max-nesting.
Parameters: name - the name of the parameter being loaded from Hammurapi configuration Parameters: value - the value of the parameter being loaded from Hammurapi configuration exception: ConfigurationException - in case of a not supported parameter name, or value. |
visit | public void visit(CompoundStatement element)(Code) | | Reviews the statements, if their nesting is too deep.
Parameters: element - the statement to be reviewed. |
|
|