private static @Nullable Integer computeInteger(@NotNull PsiExpression expr) {
    final Object result = compute(expr);
    return result instanceof Integer ? (Integer)result : null;
  }
private static @Nullable Integer computeInteger(@NotNull PsiExpression expr)