docs: private Optional<Integer> longToInt(Optional<Long> optLong) {
  
          if (optLong.isPresent()) {
              return Optional.fromNullable((Integer.valueOf((int)optLong.get().longValue())));
          } else {
              return Optional.absent();
          }
      }