rules.ATLAS
Class CL3Rule

java.lang.Object
  extended byrules.Rule
      extended byrules.ATLAS.CL3Rule

public class CL3Rule
extends Rule

Class CL3Rule implements the rule CL3 (Declare each type of variables in a separate declaration statement, and do not declare different types (e.g. int and int pointer) in one declaration statement) It extends the abstract class Rule and implements the abstract method check(Module module).


Field Summary
 
Fields inherited from class rules.Rule
ruleContent, ruleName
 
Constructor Summary
CL3Rule()
          Creates a new CL3Rule Rule.
 
Method Summary
 void check(Module module)
          Checks the coding rule against the input source.
 
Methods inherited from class rules.Rule
printViolationMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CL3Rule

public CL3Rule()
Creates a new CL3Rule Rule.

Method Detail

check

public void check(Module module)
Checks the coding rule against the input source. If the rule is violated, it reports a warning on the standard output.

Specified by:
check in class Rule
See Also:
entities