PropertiesFile () { Module module = ModuleUtilCore.findModuleForPsiElement(getElement()); if (module == null) return null; final PropertiesReferenceManager propertiesReferenceManager = PropertiesReferenceManager.getInstance(myElement.getProject()); return ContainerUtil.getFirstItem(propertiesReferenceManager.findPropertiesFiles(module, Registry.REGISTRY_BUNDLE)); }