public final class MultiModuleClassPathProvider extends AbstractClassPathProvider
ClassPathProvider
for the Multi-Module project.Modifier and Type | Class and Description |
---|---|
static class |
MultiModuleClassPathProvider.Builder |
AbstractClassPathProvider.ClassPathsChangeEvent, AbstractClassPathProvider.ClassPathsChangeListener
Modifier and Type | Method and Description |
---|---|
ClassPath |
findClassPath(FileObject file,
String type) |
ClassPath[] |
getProjectClassPaths(String type)
Returns
ClassPath s of given type owned by the project. |
ClassPath |
getProjectSourcesClassPath(String type)
Returns the given type of the classpath for the project sources
(i.e., excluding tests roots).
|
String[] |
getPropertyName(SourceGroup sg,
String type)
Returns the names of path properties storing the path type for given
SourceGroup . |
addClassPathsChangeListener, fireClassPathsChange, removeClassPathsChangeListener
public ClassPath findClassPath(@NonNull FileObject file, @NonNull String type)
public String[] getPropertyName(SourceGroup sg, String type)
AbstractClassPathProvider
SourceGroup
.getPropertyName
in class AbstractClassPathProvider
sg
- the SourceGroup
to return the properties fortype
- the ClassPath
typeSourceGroup
is unknown.public ClassPath[] getProjectClassPaths(String type)
AbstractClassPathProvider
ClassPath
s of given type owned by the project.getProjectClassPaths
in class AbstractClassPathProvider
type
- the ClassPath
typeClassPath
s