public static Integer getInt(int val) {

    synchronized (intPool) {
      return intPool.getOrAddInteger(val);
    }
  }