These last days, IntelliJ is not working properly. For instance:
The method receives a String as parameter but it shows an error there. Compilation works fine, but it's annoying to have error markers on my code everywhere. Sometimes restarting the IDE makes it work (closing the file and reopening does not help)... so, is there a way to fix this problem?