Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/javaDoc/Snippet.java
Nikita Eshkeev 34ec0bb7c9 [javadoc] IDEA-285556 Support language injection into snippet
Add an enclosing class for snippets in order not to make users define a class in a snippet code to eliminate syntax errors when the code consists of a set of instructions

GitOrigin-RevId: c6f52f94d51fdc6393c8a9fdc0ddb615e8d37b17
2022-01-15 01:44:09 +00:00

6 lines
176 B
Java

/** {<warning descr="'@snippet' tag is not available at this language level">@snippet</warning> :
* Body<EOLError descr="Identifier expected"></EOLError>
* }
*/
class A {
}