J2K: convert javadoc comments to kdoc

This commit is contained in:
Dmitry Jemerov
2015-03-03 18:29:42 +01:00
parent cbb8df954c
commit ac6a56761e
21 changed files with 448 additions and 11 deletions
@@ -0,0 +1,6 @@
/**
* This is a deprecated class.
* @deprecated do not use
*/
class C {
}
@@ -0,0 +1,5 @@
/**
* This is a deprecated class.
*/
deprecated("do not use")
class C
@@ -0,0 +1,4 @@
/**
* @param T This is the <b>parameter</b> of class {@code C}
*/
class C<T> {}
@@ -0,0 +1,4 @@
/**
* @param T This is the **parameter** of class `C`
*/
class C<T>
@@ -0,0 +1,16 @@
/**
* We support the following HTML styles: <b>bold</b>, <i>italic</i>, <s>strikethrough</s>, <code>code</code>
* <p>Paragraph tags also work.</p>
* HTML entities (need to remain as is in Markdown): &amp; &lt; &gt; &quot;
* Made by <a href="http://www.jetbrains.com">JetBrains</a>
* <ul>
* <li>Kotlin</li>
* <li>Java</li>
* </ul>
* <ol>
* <li>First</li>
* <li>Second</li>
* </ol>
*/
public class C {
}
@@ -0,0 +1,16 @@
/**
* We support the following HTML styles: **bold**, *italic*, ~~strikethrough~~, `code`
*
* Paragraph tags also work.
* HTML entities (need to remain as is in Markdown): &amp; &lt; &gt; &quot;
* Made by [JetBrains](http://www.jetbrains.com)
*
* * Kotlin
* * Java
*
*
* 1. First
* 1. Second
*
*/
public class C
@@ -0,0 +1,5 @@
/**
* {@code A<B}
*/
public class C {
}
@@ -0,0 +1,4 @@
/**
* `A&lt;B`
*/
public class C
@@ -0,0 +1,7 @@
/**
* {@link C#foo(int)}
*/
class C {
void foo(int i) {
}
}
@@ -0,0 +1,7 @@
/**
* [C.foo]
*/
class C {
fun foo(i: Int) {
}
}
@@ -0,0 +1,7 @@
/**
* {@link C#foo(int) the best foo method ever}
*/
class C {
void foo(int i) {
}
}
@@ -0,0 +1,7 @@
/**
* [the best foo method ever][C.foo]
*/
class C {
fun foo(i: Int) {
}
}
@@ -0,0 +1,5 @@
/**
* @deprecated do not use
*/
class C {
}
@@ -0,0 +1,2 @@
deprecated("do not use")
class C
@@ -0,0 +1,7 @@
/**
* @see C#foo(int)
*/
class C {
void foo(int i) {
}
}
@@ -0,0 +1,7 @@
/**
* @see C.foo
*/
class C {
fun foo(i: Int) {
}
}