diff options
author | ebraminio <ebraminio@gmail.com> | 2022-05-16 18:45:40 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 17:15:40 +0300 |
commit | 658146291e2bbf3461a2c86f8e8e23cff6b211f6 (patch) | |
tree | 053cbef26286d3ac0247eca2e1dd1de97f801c79 /core | |
parent | c532003c71cc551ce0df797a8d6207c0edb8eaab (diff) | |
download | dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.gz dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.bz2 dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.zip |
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.
Diffstat (limited to 'core')
-rw-r--r-- | core/api/core.api | 18 | ||||
-rw-r--r-- | core/src/main/kotlin/model/additionalExtras.kt | 9 |
2 files changed, 0 insertions, 27 deletions
diff --git a/core/api/core.api b/core/api/core.api index 28f55df6..2a35b178 100644 --- a/core/api/core.api +++ b/core/api/core.api @@ -858,24 +858,6 @@ public final class org/jetbrains/dokka/model/CompositeSourceSetIDKt { public static final fun plus (Lorg/jetbrains/dokka/DokkaSourceSetID;Lorg/jetbrains/dokka/DokkaSourceSetID;)Lorg/jetbrains/dokka/model/CompositeSourceSetID; } -public final class org/jetbrains/dokka/model/ConstructorValues : org/jetbrains/dokka/model/properties/ExtraProperty { - public static final field Companion Lorg/jetbrains/dokka/model/ConstructorValues$Companion; - public fun <init> (Ljava/util/Map;)V - public final fun component1 ()Ljava/util/Map; - public final fun copy (Ljava/util/Map;)Lorg/jetbrains/dokka/model/ConstructorValues; - public static synthetic fun copy$default (Lorg/jetbrains/dokka/model/ConstructorValues;Ljava/util/Map;ILjava/lang/Object;)Lorg/jetbrains/dokka/model/ConstructorValues; - public fun equals (Ljava/lang/Object;)Z - public fun getKey ()Lorg/jetbrains/dokka/model/properties/ExtraProperty$Key; - public final fun getValues ()Ljava/util/Map; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; -} - -public final class org/jetbrains/dokka/model/ConstructorValues$Companion : org/jetbrains/dokka/model/properties/ExtraProperty$Key { - public synthetic fun mergeStrategyFor (Ljava/lang/Object;Ljava/lang/Object;)Lorg/jetbrains/dokka/model/properties/MergeStrategy; - public fun mergeStrategyFor (Lorg/jetbrains/dokka/model/ConstructorValues;Lorg/jetbrains/dokka/model/ConstructorValues;)Lorg/jetbrains/dokka/model/properties/MergeStrategy$Replace; -} - public final class org/jetbrains/dokka/model/Contravariance : org/jetbrains/dokka/model/Variance { public fun <init> (Lorg/jetbrains/dokka/model/Bound;)V public final fun component1 ()Lorg/jetbrains/dokka/model/Bound; 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<Bound>) : Extr override val key: ExtraProperty.Key<DClasslike, ActualTypealias> = ActualTypealias } - -data class ConstructorValues(val values: SourceSetDependent<List<Expression>>) : ExtraProperty<DEnumEntry> { - companion object : ExtraProperty.Key<DEnumEntry, ConstructorValues> { - override fun mergeStrategyFor(left: ConstructorValues, right: ConstructorValues) = - MergeStrategy.Replace(ConstructorValues(left.values + right.values)) - } - - override val key: ExtraProperty.Key<DEnumEntry, ConstructorValues> = ConstructorValues -} |