|
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.logging.LoggerWithWrongModifiersRule
class LoggerWithWrongModifiersRule extends AbstractAstVisitorRule
Logger objects should be declared private, static and final. The exception is, when derived classes should use logger objects. Then they should be declared protected, non-static and final. This rule find loggers that are not declared with these modifiers.
Property Summary | |
---|---|
boolean |
allowNonStaticLogger
|
boolean |
allowProtectedLogger
|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
boolean allowNonStaticLogger
boolean allowProtectedLogger
Class astVisitorClass
String name
int priority
Groovy Documentation