I tried to reproduce the above S3655 FP using Intellij Idea 2019.3 (with it’s embedded openjdk version 11.0.5) and SonarLint 4.4.0.14142, but I failed. The rule S3655 supports both isPresent() and isEmpty() of my java 11 project.
Then I cheated to force Intellij Idea to use AdoptOpenJDK 8.0.242, and I was able to reproduce the above FP.
Can you confirm that your project requires java >= 11 and you use a java version < 11 for your IDE?
If it’s the case, is there a specific reason that prevents you from using java >= 11 for your IDE?
Thanks for the reply. Indeed I was running the IDE on java-8 and developing java-11 project. There is no hard reason to not use jdk-11 for the IDE, too, so I’ll just switch Strange though that this constellation causes such an issue.
(My system default was jdk-8 for stability reasons for other applications)
Again, thanks for the reply. I consider this user-error then on my part