rules.ATLAS
Class CP8Rule

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

public class CP8Rule
extends Rule

Class CP8Rule implements the rule CP8 (Do not depend on the order of evaluation of arguments to a function, in particular never use ++ and -- operators on method arguments in function calls) 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
CP8Rule()
          Creates a new CP8Rule 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

CP8Rule

public CP8Rule()
Creates a new CP8Rule 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