Interface SourceTreeAnalyzer
-
public interface SourceTreeAnalyzerAnalyzes the whole source tree for matches of banned imports.- Author:
- Simon Taddiken
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalyzeResultanalyze(AnalyzerSettings settings, BannedImportGroups groups)Analyzes all java classes found recursively in the given root directories for matches of banned imports.static SourceTreeAnalyzergetInstance()Creates a newSourceTreeAnalyzerinstance.
-
-
-
Method Detail
-
getInstance
static SourceTreeAnalyzer getInstance()
Creates a newSourceTreeAnalyzerinstance.- Returns:
- The analyzer.
-
analyze
AnalyzeResult analyze(AnalyzerSettings settings, BannedImportGroups groups)
Analyzes all java classes found recursively in the given root directories for matches of banned imports.- Parameters:
settings- Context information for performing the analysis.groups- The banned imports.- Returns:
- The result of analyzing the given source files.
-
-