rules.ALICE
Class RS4Rule

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

public class RS4Rule
extends Rule

Class RS4Rule implements the rule RS4 (Header files should not have methods bodies inside the class definitions in case they do not fit on one or two lines or when the inline function has unused arguments). 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
RS4Rule()
          Creates a new RS4Rule 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

RS4Rule

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