Class AnalyzerSettings


  • public final class AnalyzerSettings
    extends Object
    Defines context information for the SourceTreeAnalyzer.
    Author:
    Simon Taddiken
    • Method Detail

      • getSourceFileCharset

        public Charset getSourceFileCharset()
      • isParallel

        public boolean isParallel()
      • isParseFullCompilationUnit

        public boolean isParseFullCompilationUnit()
        When supported for a specific source file, we will attempt to parse the full source file. This allows for a more accurate detection of imports.
        Returns:
        Whether to attempt a full parse.
        Since:
        2.1.0
      • getAllDirectories

        public Collection<Path> getAllDirectories()
        Returns the union of getSrcDirectories() and getTestDirectories.
        Returns:
        All source directories that are subject to analysis.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object