ProjectRoot

open class ProjectRoot(source)

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.

Constructors

Link copied to clipboard
constructor(root: Path)
constructor(root: Path, parserConfiguration: ParserConfiguration)

Properties

Link copied to clipboard
val root: Path

Functions

Link copied to clipboard
open fun addSourceRoot(path: Path)
Link copied to clipboard
open fun getSourceRoot(sourceRoot: Path): Optional<SourceRoot>
Link copied to clipboard
Link copied to clipboard
open fun toString(): String