Files
Tagir Valeev d3a7dcfa0a [java-highlighting] Avoid highlighting outside of PsiField psi element
Fixes IDEA-368916 IAE in error highlighting when several fields are declared with shared modifier list


(cherry picked from commit 012b6564f9ca1a775894a3fc2b003c4feb2477e6)

IJ-CR-157290

GitOrigin-RevId: 4640510fdabda87e7b2da384f001f93c9bf64af1
2025-03-12 11:46:51 +00:00

3 lines
181 B
Java

public final class A {
<error descr="Field 'x' might not have been initialized">private final int x</error>, <error descr="Field 'y' might not have been initialized">y</error>;
}