public boolean isFileOfType(@NotNull VirtualFile file, @NotNull FileType type) {
    return file.getFileType() == type;
  }
public boolean isFileOfType(@NotNull VirtualFile file, @NotNull FileType type)