aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/deprecated/ParsersFactoriesDeprecatedAPI.kt
blob: bfaabfcf7efd3bc86b32fa3e53895ce472e7b4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

@file:Suppress("DeprecatedCallableAddReplaceWith", "PackageDirectoryMismatch", "unused")

package org.jetbrains.dokka.base.parsers.factories

import org.jetbrains.dokka.base.deprecated.ANALYSIS_API_DEPRECATION_MESSAGE
import org.jetbrains.dokka.base.deprecated.AnalysisApiDeprecatedError
import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.model.doc.DocTag

@Deprecated(message = ANALYSIS_API_DEPRECATION_MESSAGE, level = DeprecationLevel.ERROR)
object DocTagsFromStringFactory {
    @Deprecated(message = ANALYSIS_API_DEPRECATION_MESSAGE, level = DeprecationLevel.ERROR)
    fun getInstance(
        @Suppress("UNUSED_PARAMETER") name: String,
        @Suppress("UNUSED_PARAMETER") children: List<DocTag> = emptyList(),
        @Suppress("UNUSED_PARAMETER") params: Map<String, String> = emptyMap(),
        @Suppress("UNUSED_PARAMETER") body: String? = null,
        @Suppress("UNUSED_PARAMETER") dri: DRI? = null,
    ): DocTag = throw AnalysisApiDeprecatedError()
}