@Override
        public void visitReferenceExpression(@NotNull PsiReferenceExpression expression) {
          final PsiElement psiElement = expression.resolve();
          if (psiElement instanceof PsiLocalVariable || psiElement instanceof PsiParameter) {
            if (!CommonJavaRefactoringUtil.canBeDeclaredFinal((PsiVariable)psiElement)) {
              success = false;
            }
          }
        }
@Override
        public void visitReferenceExpression(@NotNull PsiReferenceExpression expression)