Skip to content

Commit 6a553f3

Browse files
committed
1 parent 6fa85d7 commit 6a553f3

File tree

1 file changed

+1
-1
lines changed
  • marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/service/utils

1 file changed

+1
-1
lines changed

marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/service/utils/JVMMarkerUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ object JVMMarkerUtils {
170170

171171
//todo: better
172172
private fun getQualifiedName(method: KtNamedFunction): String {
173-
val methodName = method.nameIdentifier!!.text
173+
val methodName = method.nameIdentifier?.text ?: method.name ?: "unknown"
174174
var methodParams = ""
175175
method.valueParameters.forEach {
176176
if (methodParams.isNotEmpty()) {

0 commit comments

Comments
 (0)