public static boolean canHaveStub(@NotNull VirtualFile file) {
    Project project = ProjectLocator.getInstance().guessProjectForFile(file);
    IndexedFile indexedFile = new IndexedFileImpl(file, project);
    return INPUT_FILTER.acceptInput(indexedFile);
  }
public static boolean canHaveStub(@NotNull VirtualFile file)