public abstract class CompilerReferenceReader<Index extends CompilerReferenceIndex<?>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
myBuildDir |
protected Index |
myIndex |
Constructor and Description |
---|
CompilerReferenceReader(java.io.File buildDir,
Index index) |
Modifier and Type | Method and Description |
---|---|
void |
close(boolean removeIndex) |
abstract TIntHashSet |
findFileIdsWithImplicitToString(CompilerRef ref) |
abstract TIntHashSet |
findReferentFileIds(CompilerRef ref,
boolean checkBaseClassAmbiguity) |
abstract java.lang.Integer |
getAnonymousCount(CompilerRef.CompilerClassHierarchyElementDef classDef,
boolean checkDefinitions) |
abstract java.util.Map<VirtualFile,SearchId[]> |
getDirectInheritors(CompilerRef searchElement,
GlobalSearchScope searchScope,
GlobalSearchScope dirtyScope,
FileType fileType,
CompilerHierarchySearchType searchType) |
abstract CompilerRef.CompilerClassHierarchyElementDef [] |
getHierarchy(CompilerRef.CompilerClassHierarchyElementDef hierarchyElement,
boolean checkBaseClassAmbiguity,
boolean includeAnonymous,
int interruptNumber) |
Index |
getIndex() |
NameEnumerator |
getNameEnumerator() |
abstract int |
getOccurrenceCount(CompilerRef element) |
protected final Index extends CompilerReferenceIndex<?> myIndex
protected final java.io.File myBuildDir
public CompilerReferenceReader(java.io.File buildDir, Index index)
public NameEnumerator getNameEnumerator()
public void close(boolean removeIndex)
public Index getIndex()
public abstract TIntHashSet findReferentFileIds(CompilerRef ref, boolean checkBaseClassAmbiguity) throws StorageException
StorageException
public abstract TIntHashSet findFileIdsWithImplicitToString(CompilerRef ref) throws StorageException
StorageException
public abstract java.util.Map<VirtualFile,SearchId[]> getDirectInheritors(CompilerRef searchElement, GlobalSearchScope searchScope, GlobalSearchScope dirtyScope, FileType fileType, CompilerHierarchySearchType searchType) throws StorageException
StorageException
public abstract java.lang.Integer getAnonymousCount(CompilerRef.CompilerClassHierarchyElementDef classDef, boolean checkDefinitions)
public abstract int getOccurrenceCount(CompilerRef element)
public abstract CompilerRef.CompilerClassHierarchyElementDef [] getHierarchy(CompilerRef.CompilerClassHierarchyElementDef hierarchyElement, boolean checkBaseClassAmbiguity, boolean includeAnonymous, int interruptNumber)