From 658146291e2bbf3461a2c86f8e8e23cff6b211f6 Mon Sep 17 00:00:00 2001 From: ebraminio Date: Mon, 16 May 2022 18:45:40 +0430 Subject: Don't expose enum constructor arguments to documentations (#2497) * Don't expose enum constructor arguments to documentation Enum constructor arguments is mostly internal detail of enums that isn't supposed to be exposed to clients of some library so let's don't put it in the generated documentations result. --- core/src/main/kotlin/model/additionalExtras.kt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'core/src/main') diff --git a/core/src/main/kotlin/model/additionalExtras.kt b/core/src/main/kotlin/model/additionalExtras.kt index d708d137..9b98448e 100644 --- a/core/src/main/kotlin/model/additionalExtras.kt +++ b/core/src/main/kotlin/model/additionalExtras.kt @@ -115,12 +115,3 @@ data class ActualTypealias(val underlyingType: SourceSetDependent) : Extr override val key: ExtraProperty.Key = ActualTypealias } - -data class ConstructorValues(val values: SourceSetDependent>) : ExtraProperty { - companion object : ExtraProperty.Key { - override fun mergeStrategyFor(left: ConstructorValues, right: ConstructorValues) = - MergeStrategy.Replace(ConstructorValues(left.values + right.values)) - } - - override val key: ExtraProperty.Key = ConstructorValues -} -- cgit