Class PHPSubscriptionCheck
- java.lang.Object
-
- org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
-
- org.sonar.plugins.php.api.visitors.PHPSubscriptionCheck
-
- All Implemented Interfaces:
PHPCheck
- Direct Known Subclasses:
CounterVisitor,MetricsVisitor,SourceBuilder
public abstract class PHPSubscriptionCheck extends PHPTreeSubscriber implements PHPCheck
-
-
Constructor Summary
Constructors Constructor Description PHPSubscriptionCheck()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<PhpIssue>analyze(CheckContext context)List<PhpIssue>analyze(PhpFile file, CompilationUnitTree tree)List<PhpIssue>analyze(PhpFile file, CompilationUnitTree tree, SymbolTable symbolTable)CheckContextcontext()voidinit()Initialize the check, this method is called once.PreciseIssuenewIssue(Tree tree, String message)abstract List<Tree.Kind>nodesToVisit()-
Methods inherited from class org.sonar.plugins.php.api.visitors.PHPTreeSubscriber
leaveNode, scanTree, visitNode
-
-
-
-
Method Detail
-
nodesToVisit
public abstract List<Tree.Kind> nodesToVisit()
- Specified by:
nodesToVisitin classPHPTreeSubscriber
-
context
public CheckContext context()
-
init
public void init()
Description copied from interface:PHPCheckInitialize the check, this method is called once.
-
analyze
public final List<PhpIssue> analyze(PhpFile file, CompilationUnitTree tree)
-
analyze
public List<PhpIssue> analyze(PhpFile file, CompilationUnitTree tree, SymbolTable symbolTable)
-
analyze
public final List<PhpIssue> analyze(CheckContext context)
-
newIssue
public PreciseIssue newIssue(Tree tree, String message)
-
-