private static boolean isChanged(PsiExpression lhs) {
      if (!(lhs instanceof PsiReferenceExpression)) return false;
      PsiVariable variable = ObjectUtils.tryCast(((PsiReferenceExpression)lhs).resolve(), PsiVariable.class);
      if (variable == null) return false;
      PsiCodeBlock codeBlock = PsiTreeUtil.getParentOfType(variable, PsiCodeBlock.class);
      if (codeBlock == null) return false;
      return !HighlightControlFlowUtil.isEffectivelyFinal(variable, codeBlock, null);
    }
private static boolean isChanged(PsiExpression lhs)