| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.TooManyParametersRule
TooManyParametersRule | public class TooManyParametersRule extends InspectorBase implements Parameterizable(Code) | | Too many parameters.
author: Pavel Vlasov version: $Revision: 1.4 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object value) Configures the rule. | public void | visit(Operation operation) Reviews the method and checks if it has too many parameters. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object value) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameters max-parameters and
class-max-complexity.
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 |
visit | public void visit(Operation operation)(Code) | | Reviews the method and checks if it has too many parameters.
Parameters: operation - the method to be reviewed. |
|
|
|