I get this wierd problem in the EDITOR.
When I use equalsIgnoreCase method on string literal, IDEA complains and says "Can not resolve 'equalsIgnoreCase'"
results in the same complain.
Compilation is successful, its just in the EDITOR, IDEA assumes that method is not available, so complains.
It works fine if its String variable instead of literal.