public final class ModulePackageIndexImpl extends ModulePackageIndex
Constructor and Description |
---|
ModulePackageIndexImpl(Module module) |
Modifier and Type | Method and Description |
---|---|
VirtualFile [] |
getDirectoriesByPackageName(java.lang.String packageName,
boolean includeLibrarySources)
Returns all directories in content sources and libraries (and optionally library sources)
corresponding to the given package name.
|
Query<VirtualFile> |
getDirsByPackageName(java.lang.String packageName,
boolean includeLibrarySources)
Returns all directories in content sources and libraries (and optionally library sources)
corresponding to the given package name as a query object (allowing to perform partial iteration of the results).
|
getInstance
getInstance
public ModulePackageIndexImpl(Module module)
public Query<VirtualFile> getDirsByPackageName(java.lang.String packageName, boolean includeLibrarySources)
PackageIndex
getDirsByPackageName
in class PackageIndex
packageName
- the name of the package for which directories are requested.includeLibrarySources
- if true, directories under library sources are included in the returned list.public VirtualFile [] getDirectoriesByPackageName(java.lang.String packageName, boolean includeLibrarySources)
PackageIndex
getDirectoriesByPackageName
in class PackageIndex
packageName
- the name of the package for which directories are requested.includeLibrarySources
- if true, directories under library sources are included in the returned list.