diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-08-27 10:23:08 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-27 17:35:04 +0200 |
commit | 1cefaa46345cd13a36e12060118b1ab5f2936502 (patch) | |
tree | 5980cc4dd1bdc1db434e5f0a897a86406af38458 /plugins/kotlin-as-java/src/main/kotlin/converters | |
parent | 17f3fea789abe3d6fb03eec361ebac5d78a2f9fd (diff) | |
download | dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.tar.gz dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.tar.bz2 dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.zip |
Apply requested changes
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/converters')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt index f169f89a..3fd9cf18 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt @@ -172,7 +172,7 @@ internal fun DClass.asJava(): DClass = copy( ) private fun DTypeParameter.asJava(): DTypeParameter = copy( - variantTypeParameter = variantTypeParameter.withNewDri(dri.possiblyAsJava()), + variantTypeParameter = variantTypeParameter.withDri(dri.possiblyAsJava()), bounds = bounds.map { it.asJava() } ) @@ -296,4 +296,4 @@ private fun AdditionalModifiers.squash(second: AdditionalModifiers) = AdditionalModifiers(content + second.content) internal fun ClassId.classNames(): String = - shortClassName.identifier + (outerClassId?.classNames()?.let { ".$it" } ?: "")
\ No newline at end of file + shortClassName.identifier + (outerClassId?.classNames()?.let { ".$it" } ?: "") |