From 047a3bcd88a4c16e18c680ecb50fdf60472d081e Mon Sep 17 00:00:00 2001 From: Vsevolod Tolstopyatov Date: Fri, 17 Mar 2023 09:24:10 -0700 Subject: Introduce InternalDokkaApi annotation (#2904) * Introduce InternalDokkaApi annotation Rationale: dokka-core has a long history of bloating its API shape with utilities that were never intended to be public, and that may expose unwanted implementation details, as well as unwanted compatibility burdens. Eventually, we would like to get rid of them (i.e. by making them internal), but first, it would be nice to provide users with an explicit message about it --- core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/src/main/kotlin/utilities') diff --git a/core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt b/core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt index d384bda4..c29d1b2a 100644 --- a/core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt +++ b/core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt @@ -1,5 +1,8 @@ package org.jetbrains.dokka.utilities +import org.jetbrains.dokka.* + +@InternalDokkaApi interface SelfRepresentingSingletonSet> : Set { override val size: Int get() = 1 -- cgit