private static void replaceInt(PsiExpression expr, int newValue, boolean hex) {
    replaceInt(expr, newValue, hex, false);
  }
private static void replaceInt(PsiExpression expr, int newValue, boolean hex)