diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/api/core.api | 20 | ||||
-rw-r--r-- | core/src/main/kotlin/model/documentableProperties.kt | 10 |
2 files changed, 29 insertions, 1 deletions
diff --git a/core/api/core.api b/core/api/core.api index 24f103d7..96fe317a 100644 --- a/core/api/core.api +++ b/core/api/core.api @@ -732,6 +732,26 @@ public abstract interface class org/jetbrains/dokka/model/Callable : org/jetbrai public abstract fun getReceiver ()Lorg/jetbrains/dokka/model/DParameter; } +public final class org/jetbrains/dokka/model/CheckedExceptions : org/jetbrains/dokka/model/properties/ExtraProperty, org/jetbrains/dokka/model/properties/ExtraProperty$Key { + public static final field Companion Lorg/jetbrains/dokka/model/CheckedExceptions$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/CheckedExceptions; + public static synthetic fun copy$default (Lorg/jetbrains/dokka/model/CheckedExceptions;Ljava/util/Map;ILjava/lang/Object;)Lorg/jetbrains/dokka/model/CheckedExceptions; + public fun equals (Ljava/lang/Object;)Z + public final fun getExceptions ()Ljava/util/Map; + public fun getKey ()Lorg/jetbrains/dokka/model/properties/ExtraProperty$Key; + public fun hashCode ()I + public synthetic fun mergeStrategyFor (Ljava/lang/Object;Ljava/lang/Object;)Lorg/jetbrains/dokka/model/properties/MergeStrategy; + public fun mergeStrategyFor (Lorg/jetbrains/dokka/model/ObviousMember;Lorg/jetbrains/dokka/model/ObviousMember;)Lorg/jetbrains/dokka/model/properties/MergeStrategy; + public fun toString ()Ljava/lang/String; +} + +public final class org/jetbrains/dokka/model/CheckedExceptions$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/CheckedExceptions;Lorg/jetbrains/dokka/model/CheckedExceptions;)Lorg/jetbrains/dokka/model/properties/MergeStrategy$Replace; +} + public abstract interface class org/jetbrains/dokka/model/ClassKind { } diff --git a/core/src/main/kotlin/model/documentableProperties.kt b/core/src/main/kotlin/model/documentableProperties.kt index 90ab3053..87f40bd6 100644 --- a/core/src/main/kotlin/model/documentableProperties.kt +++ b/core/src/main/kotlin/model/documentableProperties.kt @@ -37,4 +37,12 @@ data class ExceptionInSupertypes(val exceptions: SourceSetDependent<List<TypeCon object ObviousMember : ExtraProperty<Documentable>, ExtraProperty.Key<Documentable, ObviousMember> { override val key: ExtraProperty.Key<Documentable, *> = this -}
\ No newline at end of file +} + +data class CheckedExceptions(val exceptions: SourceSetDependent<List<DRI>>) : ExtraProperty<Documentable>, ExtraProperty.Key<Documentable, ObviousMember> { + companion object : ExtraProperty.Key<Documentable, CheckedExceptions> { + override fun mergeStrategyFor(left: CheckedExceptions, right: CheckedExceptions) = + MergeStrategy.Replace(CheckedExceptions(left.exceptions + right.exceptions)) + } + override val key: ExtraProperty.Key<Documentable, *> = CheckedExceptions +} |