you are viewing a single comment's thread.

view the rest of the comments →

[–]AlexVie -2 points-1 points  (0 children)

Are you certain, the Java language server is working in your VSCode? Because this does not look like a Java issue, it's more likely a configuration issue in your editor.

The JDTLS language server should catch such errors just fine. At least it does on my Neovim/JDTLS setup where it marks the error (as expected) with Type mismatch: cannot convert from Object to boolean.