Package com.github.javaparser.utils
Interface CollectionStrategy
-
- All Known Implementing Classes:
ParserCollectionStrategy
,SymbolSolverCollectionStrategy
public interface CollectionStrategy
A strategy for discovering the structure of a project. Implementations could read a pom.xml, a Gradle build file, a makefile...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProjectRoot
collect(java.nio.file.Path path)
ParserConfiguration
getParserConfiguration()
default java.nio.file.PathMatcher
getPathMatcher(java.lang.String pattern)
default java.util.Optional<java.nio.file.Path>
getRoot(java.nio.file.Path file)
-
-
-
Method Detail
-
getParserConfiguration
ParserConfiguration getParserConfiguration()
-
collect
ProjectRoot collect(java.nio.file.Path path)
-
getRoot
default java.util.Optional<java.nio.file.Path> getRoot(java.nio.file.Path file)
-
getPathMatcher
default java.nio.file.PathMatcher getPathMatcher(java.lang.String pattern)
-
-