public interface Rule
Modifier and Type | Method and Description |
---|---|
java.util.List<org.codenarc.rule.Violation> |
applyTo(org.codenarc.source.SourceCode sourceCode)
Apply this rule to the specified source and return a list of violations (or an empty List)
|
java.lang.String |
getName() |
int |
getPriority() |
java.util.List<org.codenarc.rule.Violation> applyTo(org.codenarc.source.SourceCode sourceCode) throws java.lang.Throwable
sourceCode
- - the source to apply this rule tojava.lang.Throwable
- could throw anythingint getPriority()
java.lang.String getName()
Copyright © 2016. All rights reserved