Package de.ikor.sip.foundation.mvnplugin
Class SourceTreeAnalyzer
java.lang.Object
de.ikor.sip.foundation.mvnplugin.SourceTreeAnalyzer
Performing file analysis on a folder level by navigating through the folder tree structure.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalyze
(BannedImportGroups groups) Checks the files in enclosed folder for not allowed import statements.Lists files found under given folder.
-
Constructor Details
-
SourceTreeAnalyzer
SourceTreeAnalyzer(Collection<Path> srcDirs, Charset projectCharset)
-
-
Method Details
-
listFiles
Lists files found under given folder. -
analyze
Checks the files in enclosed folder for not allowed import statements.- Parameters:
groups
-BannedImportGroups
contains the info about banned imports and base packages from which they are banned.- Returns:
AnalyzeResult
that reports of found matches.
-