public LocalizedComponentsLocateResult getLocalizedComponentsLocateResult(IProject project, String filenameWithoutExtension) throws CoreException, LocateException {
LocalizedComponentsLocateResult localizedComponentsLocateResult = componentsLocateCache.getLocalizedComponentsLocateResult(project, filenameWithoutExtension);
if (localizedComponentsLocateResult != null) {
return localizedComponentsLocateResult;
}
ComponentLocateScope componentLocateScope = ComponentLocateScope.createLocateScope(project, filenameWithoutExtension);
localizedComponentsLocateResult = new LocalizedComponentsLocateResult();
Locate locate = new Locate(componentLocateScope, localizedComponentsLocateResult);
locate.locate();
if (componentsLocateCache != null) {
componentsLocateCache.addToCache(project, filenameWithoutExtension, localizedComponentsLocateResult);