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).
|
getInstancegetInstancepublic ModulePackageIndexImpl(Module module)
public Query<VirtualFile> getDirsByPackageName(java.lang.String packageName, boolean includeLibrarySources)
PackageIndexgetDirsByPackageName in class PackageIndexpackageName - 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)
PackageIndexgetDirectoriesByPackageName in class PackageIndexpackageName - the name of the package for which directories are requested.includeLibrarySources - if true, directories under library sources are included in the returned list.