| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.InterfaceMethodModifiersRule
InterfaceMethodModifiersRule | public class InterfaceMethodModifiersRule extends InspectorBase implements Parameterizable(Code) | | ER-115
No need to provide (public, abstract, ) modifiers for interface methods
author: Janos Czako version: $Revision: 1.3 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures the rule. | public void | visit(Interface element) Reviews the interface definition, if it has a declaration with
not allowed modifier(s). |
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 parameters operation-max-complexity 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(Interface element)(Code) | | Reviews the interface definition, if it has a declaration with
not allowed modifier(s).
The list of the allowed modifiers is configurable.
Parameters: element - the interface declaration to be reviewed. |
|
|