@Override
  public VirtualFile @NotNull [] getFiles(FileType fileType, boolean inSourceOnly) {
    Set<VirtualFile> allFiles = new HashSet<>();
    for (CompileScope scope : myScopes) {
      final VirtualFile[] files = scope.getFiles(fileType, inSourceOnly);
      if (files.length > 0) {
        ContainerUtil.addAll(allFiles, files);
      }
    }
    return VfsUtilCore.toVirtualFileArray(allFiles);
  }
@Override
  public VirtualFile @NotNull [] getFiles(FileType fileType, boolean inSourceOnly)