AutomaticRenamer (final PsiElement element, final String newName, final Collection<UsageInfo> usages) { final PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile((PsiFile)element); assert propertiesFile != null; return new ResourceBundleRenamer(propertiesFile, newName); }