Java: improve error highlighting for unknown annotation method

GitOrigin-RevId: 6fdb6e2f397280cf4795cbd09ddcc1461a5897ff
This commit is contained in:
Bas Leijdekkers
2024-07-30 16:42:57 +02:00
committed by intellij-monorepo-bot
parent 1bdb332af2
commit a35a9f91ba
6 changed files with 17 additions and 28 deletions

View File

@@ -2,5 +2,5 @@
int u () default 0;
}
@Ann(<error descr="Cannot resolve method 'v'">v</error>=0) class D {
@Ann(<error descr="Cannot find @interface method 'v()'">v=0</error>) class D {
}

View File

@@ -2,7 +2,7 @@
int u () default 0;
}
@Ann(<error descr="Cannot find method 'value'">0</error>) class D {
@Ann(<error descr="Cannot find @interface method 'value()'">0</error>) class D {
}
@In(<error descr="Annotation attribute of the form 'name=value' expected">""</error>, create = "")