private static PsiType getTypeByExpression(PsiExpression expr) {
    return CommonJavaRefactoringUtil.getTypeByExpressionWithExpectedType(expr);
  }
private static PsiType getTypeByExpression(PsiExpression expr)