@Override
  public boolean processFile(@NotNull VirtualFile fileOrDir) {
    if (fileOrDir.isDirectory()) return true;
    if (!fileOrDir.isInLocalFileSystem()) return true;
    if (myInSourceOnly && !myFileIndex.isInSourceContent(fileOrDir)) return true;
    if (myFileType == null || FileTypeRegistry.getInstance().isFileOfType(fileOrDir, myFileType)) {
      myFiles.add(fileOrDir);
    }
    return true;
  }
@Override
  public boolean processFile(@NotNull VirtualFile fileOrDir)