public static class JavaBackwardReferenceIndexReaderFactory.BackwardReferenceReader extends CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>
myBuildDir, myIndex| Modifier | Constructor and Description |
|---|---|
protected |
BackwardReferenceReader(Project project,
java.io.File buildDir) |
| Modifier and Type | Method and Description |
|---|---|
TIntHashSet |
findFileIdsWithImplicitToString(CompilerRef ref) |
TIntHashSet |
findReferentFileIds(CompilerRef ref,
boolean checkBaseClassAmbiguity) |
java.lang.Integer |
getAnonymousCount(CompilerRef.CompilerClassHierarchyElementDef classDef,
boolean checkDefinitions) |
java.util.Map<VirtualFile,SearchId[]> |
getDirectInheritors(CompilerRef searchElement,
GlobalSearchScope searchScope,
GlobalSearchScope dirtyScope,
FileType fileType,
CompilerHierarchySearchType searchType) |
CompilerRef.CompilerClassHierarchyElementDef [] |
getHierarchy(CompilerRef.CompilerClassHierarchyElementDef hierarchyElement,
boolean checkBaseClassAmbiguity,
boolean includeAnonymous,
int interruptNumber) |
int |
getOccurrenceCount(CompilerRef element) |
close, getIndex, getNameEnumeratorprotected BackwardReferenceReader(Project project, java.io.File buildDir)
public TIntHashSet findReferentFileIds(CompilerRef ref, boolean checkBaseClassAmbiguity) throws StorageException
findReferentFileIds in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>StorageExceptionpublic TIntHashSet findFileIdsWithImplicitToString(CompilerRef ref) throws StorageException
findFileIdsWithImplicitToString in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>StorageExceptionpublic java.util.Map<VirtualFile,SearchId[]> getDirectInheritors(CompilerRef searchElement, GlobalSearchScope searchScope, GlobalSearchScope dirtyScope, FileType fileType, CompilerHierarchySearchType searchType) throws StorageException
getDirectInheritors in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>1st map: inheritors. Can be used without explicit inheritance verification 2nd map: candidates. One need to check that these classes are really direct inheritors
StorageExceptionpublic java.lang.Integer getAnonymousCount(CompilerRef.CompilerClassHierarchyElementDef classDef, boolean checkDefinitions)
getAnonymousCount in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>public int getOccurrenceCount(CompilerRef element)
getOccurrenceCount in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>public CompilerRef.CompilerClassHierarchyElementDef [] getHierarchy(CompilerRef.CompilerClassHierarchyElementDef hierarchyElement, boolean checkBaseClassAmbiguity, boolean includeAnonymous, int interruptNumber)
getHierarchy in class CompilerReferenceReader<JavaCompilerBackwardReferenceIndex>