|
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.SpaceAfterClosingBraceRule
class SpaceAfterClosingBraceRule extends AbstractAstVisitorRule
Check that there is at least one space (blank) or whitespace after each closing brace ("}"). This checks method/class/interface declarations, closure expressions and block statements. A closure expression followed by a dot operator (.), a comma, a closing parenthesis, the spread-dot operator (*.), a semicolon or the null-safe operator (?.) does not cause a violation.
| Property Summary | |
|---|---|
Class |
astVisitorClass
|
boolean |
checkClosureMapEntryValue
|
String |
name
|
int |
priority
|
| Property Detail |
|---|
Class astVisitorClass
boolean checkClosureMapEntryValue
String name
int priority
Groovy Documentation