@Override
      public boolean apply(@NotNull T target, @NotNull File file, @NotNull R sourceRoot) {
        if (shouldProcessSourceFile(file, sourceRoot, file.getPath(), configuration)) {
          if (forStubs && settings.isExcludedFromStubGeneration(file)) {
            hasExcludes.set(true);
            return true;
          }

          toCompile.add(file);
        }
        return true;
      }
@Override
      public boolean apply(@NotNull T target, @NotNull File file, @NotNull R sourceRoot)