code: public static IPv6Address fromInetAddress(final InetAddress inetAddress)
      {
          if (inetAddress == null)
              throw new IllegalArgumentException("can not construct from [null]");
  
          return fromByteArray(inetAddress.getAddress());
      }
docs: Create an IPv6 address from a java.net.Inet6Address.
  
  @param inetAddress Inet6Address representation
  @return IPv6 address