[javadoc] Update JavadocDeclarationInspection for fragment references

#IDEA-379008 Fixed

GitOrigin-RevId: bc90a975bae732a505d9bae1550f4fa475ea0ec7
This commit is contained in:
Louis Vignier
2025-09-09 11:13:59 +02:00
committed by intellij-monorepo-bot
parent 7c4d92e4d5
commit c4c3151607
7 changed files with 51 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
/**
* @see <warning descr="Label expected after URI fragment">##id</warning>
* @see <warning descr="Label expected after URI fragment">C##id</warning>
* @see ##id label
* @see C##id label
*
* {@link <warning descr="Label expected after URI fragment">##id</warning>}
* {@link <warning descr="Label expected after URI fragment">C##id</warning>}
* {@link ##id label}
* {@link C##id label}
*/
class C {
int f;
/**
* <p id=id></p>
*/
void foo() {}
}