Class SymbolSolverCollectionStrategy
- java.lang.Object
-
- com.github.javaparser.symbolsolver.utils.SymbolSolverCollectionStrategy
-
- All Implemented Interfaces:
CollectionStrategy
public class SymbolSolverCollectionStrategy extends Object implements CollectionStrategy
CollectionStrategy
which 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 ProjectRoot
collect(Path path)
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(ParserConfiguration parserConfiguration)
-
-
Method Detail
-
getParserConfiguration
public ParserConfiguration getParserConfiguration()
- Specified by:
getParserConfiguration
in interfaceCollectionStrategy
-
collect
public ProjectRoot collect(Path path)
- Specified by:
collect
in interfaceCollectionStrategy
-
-