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