public interface ImportMatcher
| Modifier and Type | Method and Description |
|---|---|
Stream<Match> |
matchFile(Path file,
BannedImportGroup group)
Collects all imports that are banned within the given java source file.
|
Stream<Match> matchFile(Path file, BannedImportGroup group)
file - The file to check.group - The group of banned imports to check the file against.Copyright © 2014–2015. All rights reserved.