I am working on the Sonargraph integration plugin and want to add C/C++ as a supported language. I am able to run an analysis and add issues to source files, but the FileSystem.inputFile method fails for header files:
InputFile inputPath = sqFileSystem.inputFile(
sqFileSystem.predicates().hasAbsolutePath(sourceFileLocation));
sourceFileLocation is a String that contains an absolute path. It works with cpp Files, but it always returns null when passing a .h File as parameter. What is the correct way to do that?