Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose Kotlin-as-Java methods that could be used not only as part of …
…transformers
- Loading branch information
1 parent
1073ea1
commit e4409ae
Showing
3 changed files
with
39 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
plugins/kotlin-as-java/src/main/kotlin/transformDocumentableToJava.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.jetbrains.dokka.kotlinAsJava | ||
|
||
import org.jetbrains.dokka.kotlinAsJava.transformers.JvmNameDocumentableTransformer | ||
import org.jetbrains.dokka.model.DClasslike | ||
import org.jetbrains.dokka.plugability.DokkaContext | ||
|
||
fun DClasslike.transformClasslikeToJava(context: DokkaContext): DClasslike { | ||
return JvmNameDocumentableTransformer().transform(this, context) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters