aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin/transformers/withCallableName.kt
blob: d2f5a9cf4be48c5b84164b4612214b92ff904041 (plain)
1
2
3
4
5
6
7
8
9
/*
 * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package org.jetbrains.dokka.kotlinAsJava.transformers

import org.jetbrains.dokka.links.DRI

internal fun DRI.withCallableName(newName: String): DRI = copy(callable = callable?.copy(name = newName))