|
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.security.UnsafeImplementationAsMapRule
class UnsafeImplementationAsMapRule extends AbstractAstVisitorRule
Reports incomplete interface implementations created by map-to-interface coercions. Example: [hasNext: { ... }] as Iterator (Not all Iterator methods are implemented. An UnsupportedOperationException will be thrown upon call to e.g. next().) By default, this rule does not apply to test files.
| Property Summary | |
|---|---|
Class |
astVisitorClass
|
int |
compilerPhase
|
String |
doNotApplyToFilesMatching
|
String |
name
|
int |
priority
|
| Property Detail |
|---|
Class astVisitorClass
int compilerPhase
String doNotApplyToFilesMatching
String name
int priority
Groovy Documentation