public abstract class PackageIndex
extends java.lang.Object
| Constructor and Description |
|---|
PackageIndex() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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.
|
abstract 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).
|
static PackageIndex |
getInstance(Project project) |
public static PackageIndex getInstance(Project project)
public abstract VirtualFile [] getDirectoriesByPackageName(java.lang.String packageName, boolean includeLibrarySources)
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 abstract Query<VirtualFile> getDirsByPackageName(java.lang.String packageName, boolean includeLibrarySources)
packageName - the name of the package for which directories are requested.includeLibrarySources - if true, directories under library sources are included in the returned list.