aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model/jvmName.kt
blob: 67df9148b64500bddd4a812d5a3e04462c838385 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package org.jetbrains.dokka.model

import org.jetbrains.dokka.links.DRI

fun DRI.isJvmName(): Boolean = packageName == "kotlin.jvm" && classNames == "JvmName"

fun Annotations.Annotation.isJvmName(): Boolean = dri.isJvmName()