com.appperfect.codeanalyzer.engine.rules
Interface IViolationListener


public interface IViolationListener

This interface need not be implemented for writing custom rule. This interface is used internally.

Version:
6.0
Author:
Apperfect Corporation.

Method Summary
 void violationFound(org.eclipse.jdt.core.dom.ASTNode astNode)
          The rule class should call this method when it detects a violation.
 

Method Detail

violationFound

public void violationFound(org.eclipse.jdt.core.dom.ASTNode astNode)
The rule class should call this method when it detects a violation. The implementation of this interface is passed as a parameter to evaluate() method to the rule.