public final class MatchedFile extends Object
forSourceFile(Path).| Modifier and Type | Class | Description |
|---|---|---|
static class |
MatchedFile.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
static MatchedFile.Builder |
forSourceFile(Path sourceFile) |
Constructs a MatchedFile
|
BannedImportGroup |
getMatchedBy() |
Returns the group that contains the banned import that caused the match in this
file.
|
List<MatchedImport> |
getMatchedImports() |
The matches found in this file.
|
Path |
getSourceFile() |
The java source file containing the matches.
|
int |
hashCode() |
|
String |
toString() |
public static MatchedFile.Builder forSourceFile(Path sourceFile)
sourceFile - The path to the java source file.public Path getSourceFile()
public List<MatchedImport> getMatchedImports()
public BannedImportGroup getMatchedBy()
Copyright © 2014–2018. All rights reserved.