[java-analysis] javaSimplePropertyGist: remove the getter/setter name restriction

Now, index can map getter/setter -> field for any name, not only with get/set/is prefix. This is already done for bytecode index, now for source index as well
Follow-up for IDEA-364131

GitOrigin-RevId: c8c0e09d94a12bfedf575f5aa3f2d79dabe34834
This commit is contained in:
Tagir Valeev
2024-12-04 15:17:36 +00:00
committed by intellij-monorepo-bot
parent 48256799bb
commit 050920691a
3 changed files with 22 additions and 23 deletions
@@ -0,0 +1,15 @@
record Test2(int x, int y) {
static void test(Test2 test2) {
if (test2.x() == test2.y()) {
if (<warning descr="Condition 'test2.x == test2.y' is always 'true'">test2.x == test2.y</warning>) {
}
}
}
public int x() {
return x;
}
}