Files
openide/java/java-tests/testData/codeInsight/folding/JavadocComments.java
T
Rustam Vishnyakov 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00

73 lines
1.7 KiB
Java

<fold text='/** outer class javadoc ...*/'>/**
* outer class javadoc
* javadoc body
*/</fold>
class Test {
<fold text='/** method javadoc ...*/'>/**
* method javadoc
* javadoc body
*
* @param i
*/</fold>
void foo(int i) <fold text='{...}'>{
<fold text='/** method var javadoc ...*/'>/**
* method var javadoc
* javadoc body
*/</fold>
int j = i;
}</fold>
<fold text='/**ill-formed javadoc ...*/'>/**ill-formed javadoc
*/</fold>
void bar(char c) <fold text='{}'>{
}</fold>
<fold text='/** first line ...*/'>/** first line
* second line
*/</fold>
void illFormedJavaDocMultilines() <fold text='{}'>{
}</fold>
<fold text='/**...*/'>/**
*/</fold>
void emptyJavadoc() <fold text='{}'>{
}</fold>
<fold text='/**...*/'>/***/</fold>
void oneLineEmptyJavadoc() <fold text='{}'>{
}</fold>
<fold text='/** dangling javadoc ...*/'>/**
* dangling javadoc
* javadoc body
*/</fold>
<fold text='/** inner class javadoc ...*/'>/**
* inner class javadoc
* javadoc body
*/</fold>
class Inner <fold text='{...}'>{
<fold text='/** javadoc for method in inner class ...*/'>/**
* javadoc for method in inner class
* javadoc body
*/</fold>
void foo() <fold text='{...}'>{
<fold text='/** javadoc for class in method ...*/'>/**
* javadoc for class in method
* javadoc body
*/</fold>
class MethodInner <fold text='{...}'>{
<fold text='/** javadoc for method inside class defined in method ...*/'>/**
* javadoc for method inside class defined in method
* javadoc body
*/</fold>
void bar() <fold text='{}'>{
}</fold>
}</fold>
}</fold>
}</fold>
}