public final class DirectoryIndexImpl extends DirectoryIndex implements Disposable
Disposable.Parent
Constructor and Description |
---|
DirectoryIndexImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
assertConsistency(DirectoryInfo info) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.util.Set<java.lang.String> |
getDependentUnloadedModules(Module module) |
Query<VirtualFile> |
getDirectoriesByPackageName(java.lang.String packageName,
boolean includeLibrarySources) |
DirectoryInfo |
getInfoForFile(VirtualFile file) |
java.util.List<OrderEntry> |
getOrderEntries(DirectoryInfo info) |
java.lang.String |
getPackageName(VirtualFile dir) |
SourceFolder |
getSourceRootFolder(DirectoryInfo info) |
JpsModuleSourceRootType<?> |
getSourceRootType(DirectoryInfo info) |
getInstance
public DirectoryIndexImpl(Project project)
public void dispose()
Disposable
dispose
in interface Disposable
public Query<VirtualFile> getDirectoriesByPackageName(java.lang.String packageName, boolean includeLibrarySources)
getDirectoriesByPackageName
in class DirectoryIndex
public DirectoryInfo getInfoForFile(VirtualFile file)
getInfoForFile
in class DirectoryIndex
public SourceFolder getSourceRootFolder(DirectoryInfo info)
getSourceRootFolder
in class DirectoryIndex
public JpsModuleSourceRootType<?> getSourceRootType(DirectoryInfo info)
getSourceRootType
in class DirectoryIndex
public java.lang.String getPackageName(VirtualFile dir)
getPackageName
in class DirectoryIndex
public java.util.List<OrderEntry> getOrderEntries(DirectoryInfo info)
getOrderEntries
in class DirectoryIndex
public java.util.Set<java.lang.String> getDependentUnloadedModules(Module module)
getDependentUnloadedModules
in class DirectoryIndex
public void assertConsistency(DirectoryInfo info)