diff --git a/src/main/kotlin/org/vorpal/research/kfg/ir/Method.kt b/src/main/kotlin/org/vorpal/research/kfg/ir/Method.kt index e1801cc..e30d437 100644 --- a/src/main/kotlin/org/vorpal/research/kfg/ir/Method.kt +++ b/src/main/kotlin/org/vorpal/research/kfg/ir/Method.kt @@ -303,7 +303,7 @@ class Method : Node { MethodParameterAnnotation.get(annotationNode, cm) } - add(Parameter(cm, index, param.name, desc.args[index], Modifiers(param.access), annotations)) + add(Parameter(cm, index, param?.name ?: "", desc.args[index], Modifiers(param?.access ?: 0), annotations)) } }