public abstract class DirectoryIndex
extends java.lang.Object
ProjectFileIndex
instead of using this class directly.Constructor and Description |
---|
DirectoryIndex() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Set<java.lang.String> |
getDependentUnloadedModules(Module module) |
abstract Query<VirtualFile> |
getDirectoriesByPackageName(java.lang.String packageName,
boolean includeLibrarySources) |
abstract DirectoryInfo |
getInfoForFile(VirtualFile file) |
static DirectoryIndex |
getInstance(Project project) |
abstract java.util.List<OrderEntry> |
getOrderEntries(DirectoryInfo info) |
abstract java.lang.String |
getPackageName(VirtualFile dir) |
abstract SourceFolder |
getSourceRootFolder(DirectoryInfo info) |
abstract JpsModuleSourceRootType<?> |
getSourceRootType(DirectoryInfo info) |
public static DirectoryIndex getInstance(Project project)
public abstract DirectoryInfo getInfoForFile(VirtualFile file)
public abstract SourceFolder getSourceRootFolder(DirectoryInfo info)
public abstract JpsModuleSourceRootType<?> getSourceRootType(DirectoryInfo info)
public abstract Query<VirtualFile> getDirectoriesByPackageName(java.lang.String packageName, boolean includeLibrarySources)
public abstract java.lang.String getPackageName(VirtualFile dir)
public abstract java.util.List<OrderEntry> getOrderEntries(DirectoryInfo info)
public abstract java.util.Set<java.lang.String> getDependentUnloadedModules(Module module)