rules.ALICE
Class RS1Rule

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

public class RS1Rule
extends Rule

Class RS1Rule implements the rule RS1 (Each class contains a description of the class functionality placed at the beginning of the class header file and an extensive description at the beginning of the class implementation file). 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
RS1Rule()
          Creates a new RS1Rule Rule.
 
Method Summary
 void check(Module module)
          Checks the coding rule against the input source.
 void check(NameSpace namespace)
           
 
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

RS1Rule

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

check

public void check(NameSpace namespace)