public class ProjectRoot extends Object
Constructor and Description |
---|
ProjectRoot(Path root) |
ProjectRoot(Path root,
ParserConfiguration parserConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
addSourceRoot(Path path) |
Path |
getProjectRoot()
Deprecated.
use getRoot()
|
Path |
getRoot() |
Optional<SourceRoot> |
getSourceRoot(Path sourceRoot) |
List<SourceRoot> |
getSourceRoots() |
String |
toString() |
public ProjectRoot(Path root)
public ProjectRoot(Path root, ParserConfiguration parserConfiguration)
public Optional<SourceRoot> getSourceRoot(Path sourceRoot)
public List<SourceRoot> getSourceRoots()
public void addSourceRoot(Path path)
@Deprecated public Path getProjectRoot()
public Path getRoot()
Copyright © 2007–2018. All rights reserved.