@Override
        public void visitVariable(@NotNull PsiVariable variable) {
          super.visitVariable(variable);
          final String newName = names.get(variable);
          if (newName != null) {
            replacements.put(variable.getNameIdentifier(), elementFactory.createIdentifier(newName));
          }
        }
@Override
        public void visitVariable(@NotNull PsiVariable variable)