the method
org.digma.intellij.plugin.navigation.codenavigation.CodeNavigator.maybeNavigateToSpan
does two things:
find the workspace uri and offeset of the method.
navigate with EditorService.getInstance(project).openWorkspaceFileInEditor
instead use an already implemented method in LanguageService
org.digma.intellij.plugin.psi.LanguageService#navigateToMethod