|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.formatting.LineLengthRule
class LineLengthRule extends AbstractAstVisitorRule
Checks the maximum length for each line of source code. It checks for number of characters, so lines that include tabs may appear longer than the allowed number when viewing the file. The maximum line length can be configured by setting the length property, which defaults to 120.
Property Summary | |
---|---|
int |
length
|
String |
name
|
int |
priority
|
Method Summary | |
---|---|
void
|
applyTo(SourceCode sourceCode, List violations)
|
Property Detail |
---|
int length
String name
int priority
Method Detail |
---|
@Override void applyTo(SourceCode sourceCode, List violations)
Groovy Documentation