| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.NoPublicFieldsRule
NoPublicFieldsRule | public class NoPublicFieldsRule extends InspectorBase implements Parameterizable(Code) | | Checks if the class has only static final, or final public fields. Even the
permission for this two kind of fields can be configured.
author: Pavel Vlasov version: $Revision: 1.7 $ |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object value) throws ConfigurationException(Code) | | Configures rule. Reads in the values of the parameters
static-final-allowed and final-allowed.
Parameters: name - the name of the parameter being loaded from Hammurapiconfiguration Parameters: value - the value of the parameter being loaded from Hammurapiconfiguration exception: ConfigurationException - in case of a not supported parameter |
visit | public void visit(VariableDefinition variableDefinition)(Code) | | Reviews the variable definitions.
Parameters: variableDefinition - the variable definition being reviewed. |
|
|
|