Rewrite utils method for qualified names to Kotlin
-- Move method to utils