public class JavaFunctionalExpressionIndex extends FileBasedIndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>>
| Modifier and Type | Field and Description |
|---|---|
static ID<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>> |
INDEX_ID |
EXTENSION_POINT_NAME| Constructor and Description |
|---|
JavaFunctionalExpressionIndex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnFileContent() |
DataIndexer<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent> |
getIndexer() |
FileBasedIndex.InputFilter |
getInputFilter() |
KeyDescriptor<FunctionalExpressionKey> |
getKeyDescriptor() |
ID<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>> |
getName() |
DataExternalizer<java.util.Map<java.lang.Integer,FunExprOccurrence>> |
getValueExternalizer() |
int |
getVersion() |
boolean |
hasSnapshotMapping() |
getCacheSize, getFileTypesWithSizeLimitNotApplicable, indexDirectories, keyIsUniqueForIndexedFile, needsForwardIndexWhenSharing, traceKeyHashToVirtualFileMappingpublic static final ID<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>> INDEX_ID
public KeyDescriptor<FunctionalExpressionKey> getKeyDescriptor()
getKeyDescriptor in class IndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent>public int getVersion()
getVersion in class IndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent>public ID<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>> getName()
getName in class FileBasedIndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>>public boolean hasSnapshotMapping()
hasSnapshotMapping in class FileBasedIndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>>public DataIndexer<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent> getIndexer()
getIndexer in class IndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent>public DataExternalizer<java.util.Map<java.lang.Integer,FunExprOccurrence>> getValueExternalizer()
getValueExternalizer in class IndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>,FileContent>public FileBasedIndex.InputFilter getInputFilter()
getInputFilter in class FileBasedIndexExtension<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>>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<FunctionalExpressionKey,java.util.Map<java.lang.Integer,FunExprOccurrence>>