public static @Nullable Number getIntegerValue(@NotNull String text) {
    try {
      return Integer.parseInt(text);
    }
    catch (NumberFormatException e) {
      try {
        return BigInteger.valueOf(Long.parseLong(text));
      }
      catch (NumberFormatException e2) {
        return null;
      }
    }
  }
public static @Nullable Number getIntegerValue(@NotNull String text)