Some language servers might call LintMapper with a null source file. See https://github.com/eclipse-jdtls/eclipse-jdt-core-incubator/issues/1778
Allow for a null source file to cater for this use-case.
Allow for a null source file to cater for this use-case.