CollectionStrategy for discovering a project structure.
It will search through the given project root path for Java files,
look at their package declarations, and figure out the root directories for those files.
No project definition files like pom.xml or build.gradle are used.
This strategy is crude, but can work for many cases.
Note that any build artifacts will also be detected: jar files in target directories and so on.
| Modifier and Type | Field and Description |
|---|---|
| private final ParserConfiguration |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ProjectRoot |
| parserConfiguration | back to summary |
|---|---|
| private final ParserConfiguration parserConfiguration | |
| ParserCollectionStrategy | back to summary |
|---|---|
| public ParserCollectionStrategy() | |
| ParserCollectionStrategy | back to summary |
|---|---|
| public ParserCollectionStrategy(ParserConfiguration parserConfiguration) | |
| collect | back to summary |
|---|---|
| public ProjectRoot collect(Path path) Implements com.
| |