List<Location> (@NotNull String path, @NotNull Project project, @NotNull GlobalSearchScope scope, String paramName) { int classSeparatorIdx = path.indexOf('/'); if (classSeparatorIdx > 0) { String className = path.substring(0, classSeparatorIdx); String methodName = path.substring(classSeparatorIdx + 1); return collectMethodNavigatables(project, scope, paramName, methodName, className); } else { //fallback to the old protocol format : java:test://className.methodName String className = StringUtil.getPackageName(path); String methodName = StringUtil.getShortName(path); if (!className.isEmpty()) { return collectMethodNavigatables(project, scope, paramName, methodName, className); } } return Collections.emptyList(); }