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)
|
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()
Copyright © 2016. All rights reserved.