rules.ATLAS
Class CA5Rule

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

public class CA5Rule
extends Rule

Class CA5Rule implements the rule CA5 (The only permissible use of #ifdef is to precede a block of non-portable code and to allow the template declaration as CT1) 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
CA5Rule()
          Creates a new CA5Rule 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

CA5Rule

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