[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the...
authorNikita Eshkeev <nikita.eshkeev@jetbrains.com>
Thu, 29 Jul 2021 13:17:06 +0000 (16:17 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 29 Jul 2021 18:01:56 +0000 (18:01 +0000)
commitd4895b95087d43f76aa308dbeeb8d52dedaf16ab
tree9c1626185acd9713cd52051ddbef281da41615b7
parent2e90ca831e22a1dbface3f206fa97e46c8e41267
[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the same as a nested class name

Fix the caption of the error highlighting when it looks like a call to a static field or method with redundant `new`

GitOrigin-RevId: b15739b54ef0b195f9bb05f12775ab5e6c5b3b0b
java/java-analysis-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightUtil.java
java/java-psi-impl/src/messages/JavaErrorBundle.properties