|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.rule.AbstractRule
groovy.org.codenarc.rule.imports.AbstractImportRule
groovy.org.codenarc.rule.imports.MisorderedStaticImportsRule
class MisorderedStaticImportsRule extends AbstractImportRule
Static imports should be before nonstatic imports
| Field Summary |
|---|
| Fields inherited from class AbstractImportRule | |
|---|---|
| NON_STATIC_IMPORT_PATTERN, STATIC_IMPORT_PATTERN |
| Property Summary | |
|---|---|
boolean |
comesBefore
|
String |
name
|
int |
priority
|
| Method Summary | |
|---|---|
void
|
applyTo(SourceCode sourceCode, List violations)
|
| Methods inherited from class AbstractImportRule | |
|---|---|
| eachImportLine, findLineNumberOfFirstClassDeclaration |
| Property Detail |
|---|
boolean comesBefore
String name
int priority
| Method Detail |
|---|
void applyTo(SourceCode sourceCode, List violations)
Groovy Documentation