class NoWildcardImportsRule extends AbstractImportRule
Checks for wildcard (star) imports. If the ignoreStaticImports property is true, then do not check static imports.
| Fields inherited from class | Fields |
|---|---|
class AbstractImportRule |
NON_STATIC_IMPORT_PATTERN, STATIC_IMPORT_PATTERN |
| Type | Name and description |
|---|---|
boolean |
ignoreImports |
boolean |
ignoreStaticImports |
java.lang.String |
name |
int |
priority |
| Constructor and description |
|---|
NoWildcardImportsRule
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
applyTo(SourceCode sourceCode, java.util.List<Violation> violations) |
Groovy Documentation