if (file == null) {
return NONE;
}
final PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
<BUG>final String[] pathNodes = pathToNodes(elements[1]);
return getLocation(project, pathNodes, psiFile);
</BUG>
}
<BUG>private static String[] pathToNodes(final String element) {

return element.split("/");
}</BUG>
@VisibleForTesting

if (file == null) {
return NONE;
}
final PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
return getLocation(project, pathToNodes(elements.get(1)), psiFile);
}
private static List<String> pathToNodes(final String element) {
return StringUtil.split(element, "/");
}
@VisibleForTesting
