Minor. Introduce constant JVM_THROWS_ANNOTATION_FQ_NAME

KT-35468
This commit is contained in:
Denis Zharkov
2020-04-10 16:09:55 +03:00
committed by Ilya Gorbunov
parent 1565fc0211
commit 534ff58d9c
5 changed files with 16 additions and 10 deletions
@@ -42,3 +42,8 @@ fun AnnotationDescriptor.argumentValue(parameterName: String): ConstantValue<*>?
DeprecationLevel.ERROR
)
val JVM_FIELD_ANNOTATION_FQ_NAME = FqName("kotlin.jvm.JvmField")
// This annotation is declared here in frontend (as opposed to frontend.java) because it's used in AllUnderImportScope
// If you wish to add another JVM-related annotation and has/find utility methods, please proceed to jvmAnnotationUtil.kt
@JvmField
val JVM_THROWS_ANNOTATION_FQ_NAME = FqName("kotlin.jvm.Throws")