|
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.BracesForMethodRule
class BracesForMethodRule extends AbstractAstVisitorRule
Checks the location of the opening brace ({) for constructors and methods. By default, requires them on the same line, but the sameLine property can be set to false to override this.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
boolean |
sameLine
|
Property Detail |
---|
Class astVisitorClass
String name
int priority
boolean sameLine
Groovy Documentation