| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.CodeTooLongRule
CodeTooLongRule | public class CodeTooLongRule extends InspectorBase implements Parameterizable(Code) | | ER-048
Method is too long
author: Pavel Vlasov version: $Revision: 1.4 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures the rule. | public void | visit(Code element) Reviews the method definitions if they are longer than the preconfigured
maximum. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object parameter) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameter maximum-line.
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(Code element)(Code) | | Reviews the method definitions if they are longer than the preconfigured
maximum.
Parameters: element - the method definition to be reviewed. |
|
|
|