Hi community, I have a question about the compileJava check, null dereference warning.
We use the checkState()/checkNotNull() methods instead of the if-else statement to check that the variable is not null to follow the convention, but this leads to a dereferencing warning for a possibly null reference. This is an example [cid:7297a57a-04b0-48ec-9066-a3b9b8d92c08] Could you please suggest what we should do in this case: 1. leave the checkState()/checkNotNull() methods and suppress the dereference of possibly-null reference warning; 2. leave the if-else clause? What would you recommend? Thanks in advance, Elizaveta