|
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.formatting.BracesForClassRule
class BracesForClassRule extends AbstractRule
Checks the location of the opening brace ({) for classes. By default, requires them on the same line, but the sameLine property can be set to false to override this.
| Property Summary | |
|---|---|
String |
name
|
int |
priority
|
boolean |
sameLine
|
| Method Summary | |
|---|---|
void
|
applyTo(SourceCode sourceCode, List violations)
|
| Property Detail |
|---|
String name
int priority
boolean sameLine
| Method Detail |
|---|
@Override void applyTo(SourceCode sourceCode, List violations)
Groovy Documentation