|
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.basic.ClassForNameRule
class ClassForNameRule extends AbstractAstVisitorRule
Using Class.forName(...) is a common way to add dynamic behavior to a system. However, using this method can cause resource leaks because the classes can be pinned in memory for long periods of time.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
String name
int priority
Groovy Documentation