blob: 623115e0bdc4f8c6124c77819f3861298c03da94 (
plain)
1
2
3
4
5
6
7
8
9
10
|
package org.jetbrains.dokka.model
import org.jetbrains.dokka.links.DRI
const val JVM_FIELD_PACKAGE_NAME = "kotlin.jvm"
const val JVM_FIELD_CLASS_NAMES = "JvmField"
fun DRI.isJvmField(): Boolean = packageName == JVM_FIELD_PACKAGE_NAME && classNames == JVM_FIELD_CLASS_NAMES
fun Annotations.Annotation.isJvmField(): Boolean = dri.isJvmField()
|