public class BytecodeAnalysisIndex extends ScalarIndexExtension<HMember>
Modifier and Type | Class and Description |
---|---|
static class |
BytecodeAnalysisIndex.EquationsExternalizer
Externalizer for compressed equations.
|
VOID_DATA_EXTERNALIZER
EXTENSION_POINT_NAME
Constructor and Description |
---|
BytecodeAnalysisIndex() |
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOnFileContent() |
DataIndexer<HMember,java.lang.Void,FileContent> |
getIndexer() |
FileBasedIndex.InputFilter |
getInputFilter() |
KeyDescriptor<HMember> |
getKeyDescriptor() |
ID<HMember,java.lang.Void> |
getName() |
int |
getVersion() |
boolean |
hasSnapshotMapping() |
boolean |
needsForwardIndexWhenSharing()
Whether this index needs the forward mapping to be shared along with inverted index.
|
getValueExternalizer
getCacheSize, getFileTypesWithSizeLimitNotApplicable, indexDirectories, keyIsUniqueForIndexedFile, traceKeyHashToVirtualFileMapping
public ID<HMember,java.lang.Void> getName()
getName
in class FileBasedIndexExtension<HMember,java.lang.Void>
public DataIndexer<HMember,java.lang.Void,FileContent> getIndexer()
getIndexer
in class IndexExtension<HMember,java.lang.Void,FileContent>
public KeyDescriptor<HMember> getKeyDescriptor()
getKeyDescriptor
in class IndexExtension<HMember,java.lang.Void,FileContent>
public boolean hasSnapshotMapping()
hasSnapshotMapping
in class FileBasedIndexExtension<HMember,java.lang.Void>
public FileBasedIndex.InputFilter getInputFilter()
getInputFilter
in class FileBasedIndexExtension<HMember,java.lang.Void>
IndexExtension.getIndexer()
.
Usually DefaultFileTypeSpecificInputFilter
can be used here to index only files with given file-type.
Note that check only file's extension is usually error-prone way and prefer to check VirtualFile.getFileType()
:
for example user can enforce language file as plain text one.public boolean dependsOnFileContent()
dependsOnFileContent
in class FileBasedIndexExtension<HMember,java.lang.Void>
public int getVersion()
getVersion
in class IndexExtension<HMember,java.lang.Void,FileContent>
public boolean needsForwardIndexWhenSharing()
FileBasedIndexExtension
false
, it is an error to call FileBasedIndex.getFileData(ID, VirtualFile, Project)
for this index
.needsForwardIndexWhenSharing
in class FileBasedIndexExtension<HMember,java.lang.Void>