docs: public Type type() {
      if (type == null) {
        synchronized (this) {
          if (type == null) {
            type = address() instanceof Inet6Address ? Type.IPV6 : Type.IPV4;
          }
        }
      }
      return type;
    }