diff options
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | 2023-03-17 09:24:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 19:24:10 +0300 |
commit | 047a3bcd88a4c16e18c680ecb50fdf60472d081e (patch) | |
tree | 1b4415dad78dae53c0f98cc88e2bea523f1aaa99 /core/src/main/kotlin/utilities | |
parent | 8bb4f4a86b131e9740a8074cb5775930f8280019 (diff) | |
download | dokka-047a3bcd88a4c16e18c680ecb50fdf60472d081e.tar.gz dokka-047a3bcd88a4c16e18c680ecb50fdf60472d081e.tar.bz2 dokka-047a3bcd88a4c16e18c680ecb50fdf60472d081e.zip |
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
Diffstat (limited to 'core/src/main/kotlin/utilities')
-rw-r--r-- | core/src/main/kotlin/utilities/SelfRepresentingSingletonSet.kt | 3 |
1 files changed, 3 insertions, 0 deletions
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<T : SelfRepresentingSingletonSet<T>> : Set<T> { override val size: Int get() = 1 |