ua.gradsoft.javachecker.checkers
Class BTCompilationUnitChecker

java.lang.Object
  extended by ua.gradsoft.javachecker.checkers.AbstractChecker
      extended by ua.gradsoft.javachecker.checkers.AbstractCompilationUnitChecker
          extended by ua.gradsoft.javachecker.checkers.BTCompilationUnitChecker

public class BTCompilationUnitChecker
extends AbstractCompilationUnitChecker

Checker with apply ruleset, according to BottomTop strategy.

Author:
rssh

Constructor Summary
BTCompilationUnitChecker(java.lang.String name, java.lang.String category, java.lang.String description, Term rules, boolean enabled)
          Creates a new instance of BTTypeChecker
 
Method Summary
 void configure(JavaFacts facts)
           
 CheckerType getCheckerType()
           
 void run(Term compilationUnitAst)
           
 
Methods inherited from class ua.gradsoft.javachecker.checkers.AbstractChecker
addRuleset, getCategory, getDescription, getName, isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTCompilationUnitChecker

public BTCompilationUnitChecker(java.lang.String name,
                                java.lang.String category,
                                java.lang.String description,
                                Term rules,
                                boolean enabled)
                         throws TermWareException,
                                ConfigException
Creates a new instance of BTTypeChecker

Throws:
TermWareException
ConfigException
Method Detail

getCheckerType

public CheckerType getCheckerType()
Specified by:
getCheckerType in class AbstractChecker

configure

public void configure(JavaFacts facts)
Specified by:
configure in class AbstractChecker

run

public void run(Term compilationUnitAst)
         throws TermWareException
Specified by:
run in class AbstractCompilationUnitChecker
Throws:
TermWareException