static boolean isJavaOnlyScope(VirtualFile @NotNull [] files) {
    return ContainerUtil.and(files, file -> FileTypeRegistry.getInstance().isFileOfType(file, JavaFileType.INSTANCE));
  }
static boolean isJavaOnlyScope(VirtualFile @NotNull [] files)