Package com.github.javaparser.utils
Class ProjectRoot
java.lang.Object
com.github.javaparser.utils.ProjectRoot
The structure of a Java project directory.
It was originally created specifically to quickly configure the symbol solver.
You can use it as a general container for project information.
A project has a root directory, and it has zero or more directories that contain source code.
To create a ProjectRoot use a CollectionStrategy, or instantiate ProjectRoot yourself.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectRoot(Path root)
ProjectRoot(Path root, ParserConfiguration parserConfiguration)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourceRoot(Path path)
getRoot()
getSourceRoot(Path sourceRoot)
toString()