Class SymbolSolverCollectionStrategy

java.lang.Object
com.github.javaparser.symbolsolver.utils.SymbolSolverCollectionStrategy
All Implemented Interfaces:
com.github.javaparser.utils.CollectionStrategy

public class SymbolSolverCollectionStrategy extends Object implements com.github.javaparser.utils.CollectionStrategy
CollectionStrategy which collects all SourceRoots and initialises the TypeSolver and returns the SourceRoots configured with the TypeSolver in a ProjectRoot object.
  • Constructor Details

    • SymbolSolverCollectionStrategy

      public SymbolSolverCollectionStrategy()
    • SymbolSolverCollectionStrategy

      public SymbolSolverCollectionStrategy(com.github.javaparser.ParserConfiguration parserConfiguration)
  • Method Details

    • getParserConfiguration

      public com.github.javaparser.ParserConfiguration getParserConfiguration()
      Specified by:
      getParserConfiguration in interface com.github.javaparser.utils.CollectionStrategy
    • collect

      public com.github.javaparser.utils.ProjectRoot collect(Path path)
      Specified by:
      collect in interface com.github.javaparser.utils.CollectionStrategy