Does SonarLink check the use of objects and reports if accessing the object when null?

I want to see if the SonarLink reports when you use objects when it maybe null and your not checking if (null != object) before use? And if I can add the rule, how I can I do that?

Hello @leokrlewis
thanks for joining the SonarSource community, welcome!

The SonarSource rules site will tell you whether or not a rule is applied to your code by SonarLint. As an example the “Null pointers should not be dereferenced” rule for Java is indeed applied by SonarLint:

As for SonarLint documentation for your own IDE, the entry point to it will be, which reference links for each IDE. And the easiest way to get a rule activated, if applicable to your project, is probably to use the connected mode and align with your project quality profile.

Best regards