Interface SourceTreeAnalyzer


  • public interface SourceTreeAnalyzer
    Analyzes the whole source tree for matches of banned imports.
    Author:
    Simon Taddiken
    • Method Detail

      • 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.