aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/deprecated/ParsersFactoriesDeprecatedAPI.kt
blob: 7b84803c18ef11d617eec2fe90aa16ea1760491f (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)
public object DocTagsFromStringFactory {
    @Deprecated(message = ANALYSIS_API_DEPRECATION_MESSAGE, level = DeprecationLevel.ERROR)
    public 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()
}