public interface Rule
| Modifier and Type | Method and Description |
|---|---|
List<Violation> |
applyTo(SourceCode sourceCode)
Apply this rule to the specified source and return a list of violations (or an empty List)
|
int |
getCompilerPhase() |
String |
getName() |
int |
getPriority() |
List<Violation> applyTo(SourceCode sourceCode) throws Throwable
sourceCode - - the source to apply this rule toThrowable - could throw anythingint getPriority()
String getName()
int getCompilerPhase()
Phases)
of the AST of the SourceCode
handed to the rule via applyTo(SourceCode sourceCode)Copyright © 2021. All rights reserved.