|
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.design.BuilderMethodWithSideEffectsRule
class BuilderMethodWithSideEffectsRule extends AbstractAstVisitorRule
A builder method is defined as one that creates objects. As such, they should never be of void return type. If a method is named build, create, or make, then it should always return a value.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
methodNameRegex
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
String methodNameRegex
String name
int priority
Groovy Documentation