Class SymbolSolverCollectionStrategy
- java.lang.Object
-
- com.github.javaparser.symbolsolver.utils.SymbolSolverCollectionStrategy
-
- All Implemented Interfaces:
CollectionStrategy
public class SymbolSolverCollectionStrategy extends Object implements CollectionStrategy
CollectionStrategywhich collects all SourceRoots and initialises the TypeSolver and returns the SourceRoots configured with the TypeSolver in a ProjectRoot object.
-
-
Constructor Summary
Constructors Constructor Description SymbolSolverCollectionStrategy()SymbolSolverCollectionStrategy(ParserConfiguration parserConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectRootcollect(Path path)ParserConfigurationgetParserConfiguration()-
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(ParserConfiguration parserConfiguration)
-
-
Method Detail
-
getParserConfiguration
public ParserConfiguration getParserConfiguration()
- Specified by:
getParserConfigurationin interfaceCollectionStrategy
-
collect
public ProjectRoot collect(Path path)
- Specified by:
collectin interfaceCollectionStrategy
-
-