rules.ALICE
Class GC2Rule

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

public class GC2Rule
extends Rule

Class GC2Rule implements the rule GC2 (When only referring to pointers or references to types defined in the header file it is often not necessary to include that file. It may be sufficient to use forward declaration) 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
GC2Rule()
          Creates a new GC2Rule 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

GC2Rule

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