Class SymbolSolverCollectionStrategy

  • All Implemented Interfaces:
    com.github.javaparser.utils.CollectionStrategy

    public class SymbolSolverCollectionStrategy
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.github.javaparser.utils.ProjectRoot collect​(java.nio.file.Path path)  
      com.github.javaparser.ParserConfiguration getParserConfiguration()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.github.javaparser.utils.CollectionStrategy

        getPathMatcher, getRoot
    • Constructor Detail

      • SymbolSolverCollectionStrategy

        public SymbolSolverCollectionStrategy()
      • SymbolSolverCollectionStrategy

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

      • 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​(java.nio.file.Path path)
        Specified by:
        collect in interface com.github.javaparser.utils.CollectionStrategy