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