@Override @NotNull public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(XmlFileType.INSTANCE, DTDFileType.INSTANCE) { @Override public boolean acceptInput(@NotNull final VirtualFile file) { FileType fileType = file.getFileType(); final String extension = file.getExtension(); return XmlFileType.INSTANCE.equals(fileType) && "xsd".equals(extension) || DTDFileType.INSTANCE.equals(fileType) && "dtd".equals(extension); } }; }
public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(XmlFileType.INSTANCE, DTDFileType.INSTANCE) { public boolean acceptInput(final VirtualFile file) { FileType fileType = file.getFileType(); final String extension = file.getExtension(); return XmlFileType.INSTANCE.equals(fileType) && "xsd".equals(extension) || DTDFileType.INSTANCE.equals(fileType) && "dtd".equals(extension); } }; }
@Override @NotNull public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(XmlFileType.INSTANCE, DTDFileType.INSTANCE) { @Override public boolean acceptInput(@Nullable Project project, @NotNull final VirtualFile file) { FileType fileType = file.getFileType(); final String extension = file.getExtension(); return XmlFileType.INSTANCE.equals(fileType) && "xsd".equals(extension) || DTDFileType.INSTANCE.equals(fileType) && "dtd".equals(extension); } }; }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(XmlFileType.INSTANCE, RncFileType.getInstance()) { @Override public boolean acceptInput(@Nullable Project project, @NotNull VirtualFile file) { return !(file.getFileSystem() instanceof ArchiveFileSystem); } }; }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(JavaClassFileType.INSTANCE) { @Override public boolean acceptInput(@Nullable Project project, @NotNull VirtualFile file) { return ourEnabled && super.acceptInput(project, file); } }; }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(JavaFileType.INSTANCE) { @Override public boolean acceptInput(@Nullable Project project, @NotNull VirtualFile file) { return JavaStubElementTypes.JAVA_FILE.shouldBuildStubFor(file); } }; }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(Unity3dMetaFileType.INSTANCE); }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(LombokConfigFileType.INSTANCE); }
@Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(XmlFileType.INSTANCE); }
@NotNull @Override public FileBasedIndex.InputFilter getInputFilter() { return new DefaultFileTypeSpecificInputFilter(JavaFileType.INSTANCE); }