Java Code Examples for com.intellij.util.indexing.FileBasedIndex#InputFilter

The following examples show how to use com.intellij.util.indexing.FileBasedIndex#InputFilter . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FileModuleIndex.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public FileBasedIndex.InputFilter getInputFilter() {
    return m_inputFilter;
}
 
Example 2
Source File: MethodArgumentDroppedIndex.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public FileBasedIndex.InputFilter getInputFilter() {
    return x -> x.getName().equals("MethodArgumentDroppedMatcher.php");
}
 
Example 3
Source File: NodeTypesYamlFileIndex.java    From intellij-neos with GNU General Public License v3.0 4 votes vote down vote up
@NotNull
@Override
public FileBasedIndex.InputFilter getInputFilter() {
    return (virtualFile) -> virtualFile.getFileType() == YAMLFileType.YML;
}
 
Example 4
Source File: PantsAddressesIndex.java    From intellij-pants-plugin with Apache License 2.0 4 votes vote down vote up
@NotNull
@Override
public FileBasedIndex.InputFilter getInputFilter() {
  return file -> PantsUtil.isBUILDFileName(file.getName());
}
 
Example 5
Source File: Unity3dYMLAssetIndexExtension.java    From consulo-unity3d with Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public FileBasedIndex.InputFilter getInputFilter()
{
	return myInputFilter;
}
 
Example 6
Source File: Unity3dMetaIndexExtension.java    From consulo-unity3d with Apache License 2.0 4 votes vote down vote up
@Nonnull
@Override
public FileBasedIndex.InputFilter getInputFilter()
{
	return new DefaultFileTypeSpecificInputFilter(Unity3dMetaFileType.INSTANCE);
}
 
Example 7
Source File: LombokConfigIndex.java    From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@NotNull
@Override
public FileBasedIndex.InputFilter getInputFilter() {
  return new DefaultFileTypeSpecificInputFilter(LombokConfigFileType.INSTANCE);
}