aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt b/plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt
deleted file mode 100644
index bf2a9ad1..00000000
--- a/plugins/kotlin-as-java/src/main/kotlin/jvmSynthetic.kt
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * 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
-
-import org.jetbrains.dokka.model.Annotations
-import org.jetbrains.dokka.model.properties.WithExtraProperties
-
-internal fun <T : org.jetbrains.dokka.model.AnnotationTarget> WithExtraProperties<T>.hasJvmSynthetic(): Boolean {
- return extra[Annotations]
- ?.directAnnotations
- ?.entries
- ?.any { (_, annotations) ->
- annotations.any { it.dri.packageName == "kotlin.jvm" && it.dri.classNames == "JvmSynthetic" }
- } == true
-}