| Package | Description |
|---|---|
| de.skuzzle.enforcer.restrictimports.analyze |
| Modifier and Type | Method | Description |
|---|---|---|
static MatchedFile.Builder |
MatchedFile.forSourceFile(Path sourceFile) |
Constructs a MatchedFile
|
MatchedFile.Builder |
MatchedFile.Builder.matchedBy(BannedImportGroup group) |
Sets the group that contained the banned import that caused a match for this
file.
|
MatchedFile.Builder |
MatchedFile.Builder.withMatchAt(int importLine,
String matchedString,
PackagePattern matchedBy) |
Records a matched import within this file.
|
| Modifier and Type | Method | Description |
|---|---|---|
AnalyzeResult.Builder |
AnalyzeResult.Builder.withMatches(MatchedFile.Builder... matches) |
Copyright © 2014–2018. All rights reserved.