code: @SafeVarargs
    public static SourceFile scanSingleFile(InputFile file, SensorContext sensorContext, CxxLanguage language,
      SquidAstVisitor<Grammar>... visitors) {
      return scanSingleFileConfig(language, file, new CxxConfiguration(sensorContext.fileSystem().encoding()),
        visitors);
    }
docs: Helper method for testing checks without having to deploy them on a Sonar instance.
  
  @param file is the file to be checked
  @param sensorContext SQ API batch side context
  @param visitors AST checks and visitors to use
  @param language CxxLanguage to use
  @return file checked with measures and issues