[java] [javadoc snippet] fix injection with unclear context

use existing JShell wrappers

GitOrigin-RevId: 2e0351145e1e3f750d781cd62bcda20cc49693c7
This commit is contained in:
Anna Kozlova
2022-02-15 10:55:20 +01:00
committed by intellij-monorepo-bot
parent b3cd2cb11e
commit c7328bb1a2
15 changed files with 26 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
/** {<warning descr="'@snippet' tag is not available at this language level">@snippet</warning> :
* void f<error descr="';' expected">(</error><error descr="Expression expected">)</error> {}
* void f() {}
* }
*/
class A {