/guava/guava/src/com/google/common/net/InetAddresses.java
return requireNonNull ( ip.getHostAddress ( ) ) ;
throw new AssertionError(e); } } public static String toAddrString(InetAddress ip) { checkNotNull(ip); if (ip instanceof Inet4Address) { <extra_id_0> } checkArgument(ip instanceof Inet6Address); byte[] bytes = ip.getAddress(); int[] hextets = new int[IPV6_PART_COUNT]; for (int i = 0; i < hextets.length; i++) { hextets[i] = Ints.fromBytes((byte) 0, (byte) 0, bytes[2 * i], bytes[2 * i + 1]);