rules.ALICE
Class RN4Rule

java.lang.Object
  extended byrules.Rule
      extended byrules.ALICE.RN4Rule

public class RN4Rule
extends Rule

Class RN4Rule implements the rule RN4 (Header file names are derived from the class name and have the suffix ".h"). 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
RN4Rule(java.lang.String suffix)
          Creates a new RN4Rule 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

RN4Rule

public RN4Rule(java.lang.String suffix)
Creates a new RN4Rule Rule.

Parameters:
suffix - The extension of the header file (e.g. "h", "H")
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