List<Location> (@NotNull String protocol, @NotNull String path, @Nullable String metainfo, @NotNull Project project, @NotNull GlobalSearchScope scope) { if (URLUtil.FILE_PROTOCOL.equals(protocol)) { return FileUrlProvider.INSTANCE.getLocation(protocol, path, project, scope); } else if (!DumbService.isDumb(project) || DumbService.isDumbAware(myLocator)) { return myLocator.getLocation(protocol, path, metainfo, project, scope); } else { return Collections.emptyList(); } }