| Package | Description |
|---|---|
| de.skuzzle.enforcer.restrictimports.analyze |
| Modifier and Type | Method and 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 and Description |
|---|---|
AnalyzeResult.Builder |
AnalyzeResult.Builder.withMatches(MatchedFile.Builder... matches) |
AnalyzeResult.Builder |
AnalyzeResult.Builder.withMatchesInTestCode(MatchedFile.Builder... matches) |
Copyright © 2014–2019. All rights reserved.