public interface Rule
Represents a source code analysis rule .
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.util.List<Violation> |
applyTo(SourceCode sourceCode)Apply this rule to the specified source and return a list of violations (or an empty List) |
|
public int |
getCompilerPhase()
|
|
public java.lang.String |
getName()
|
|
public int |
getPriority()
|
Apply this rule to the specified source and return a list of violations (or an empty List)
sourceCode - - the source to apply this rule to