@Override
  public void findCollisions(@NotNull PsiElement element,
                             @NotNull final String newName,
                             @NotNull Map<? extends PsiElement, String> allRenames,
                             @NotNull List<UsageInfo> result) {
    allRenames.forEach((key, value) -> {
      final PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile(key.getContainingFile());
      if (propertiesFile == null) return;

      final IProperty property = propertiesFile.findPropertyByKey(value);
      if (property == null) return;

      result.add(new UnresolvableCollisionUsageInfo(property.getPsiElement(), key) {
        @Override
        public String getDescription() {
          return PropertiesBundle.message("rename.hides.existing.property.conflict", value);
        }
      });
    });
  }
@Override
  public void findCollisions(@NotNull PsiElement element,
                             @NotNull final String newName,
                             @NotNull Map<? extends PsiElement, String> allRenames,
                             @NotNull List<UsageInfo> result)