docs: public static int longToInt(long inLong) {
  
          if (inLong < Integer.MIN_VALUE) {
              return Integer.MIN_VALUE;
          }
  
          if (inLong > Integer.MAX_VALUE) {
              return Integer.MAX_VALUE;
          }
  
          return (int) inLong;
      }