public final class com.google.common.net.InetAddresses
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.net.InetAddresses
super_class: java.lang.Object
{
private static final int IPV4_PART_COUNT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int IPV6_PART_COUNT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final com.google.common.base.Splitter IPV4_SPLITTER;
descriptor: Lcom/google/common/base/Splitter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.base.Splitter IPV6_SPLITTER;
descriptor: Lcom/google/common/base/Splitter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.net.Inet4Address LOOPBACK4;
descriptor: Ljava/net/Inet4Address;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.net.Inet4Address ANY4;
descriptor: Ljava/net/Inet4Address;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: bipush 46
invokestatic com.google.common.base.Splitter.on:(C)Lcom/google/common/base/Splitter;
iconst_4
invokevirtual com.google.common.base.Splitter.limit:(I)Lcom/google/common/base/Splitter;
putstatic com.google.common.net.InetAddresses.IPV4_SPLITTER:Lcom/google/common/base/Splitter;
1: bipush 58
invokestatic com.google.common.base.Splitter.on:(C)Lcom/google/common/base/Splitter;
bipush 10
invokevirtual com.google.common.base.Splitter.limit:(I)Lcom/google/common/base/Splitter;
putstatic com.google.common.net.InetAddresses.IPV6_SPLITTER:Lcom/google/common/base/Splitter;
2: ldc "127.0.0.1"
invokestatic com.google.common.net.InetAddresses.forString:(Ljava/lang/String;)Ljava/net/InetAddress;
checkcast java.net.Inet4Address
putstatic com.google.common.net.InetAddresses.LOOPBACK4:Ljava/net/Inet4Address;
3: ldc "0.0.0.0"
invokestatic com.google.common.net.InetAddresses.forString:(Ljava/lang/String;)Ljava/net/InetAddress;
checkcast java.net.Inet4Address
putstatic com.google.common.net.InetAddresses.ANY4:Ljava/net/Inet4Address;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/net/InetAddresses;
private static java.net.Inet4Address getInet4Address(byte[]);
descriptor: ([B)Ljava/net/Inet4Address;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_4
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
ldc "Byte array has invalid length for an IPv4 address: %s != 4."
3: aload 0
arraylength
4: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
5: aload 0
invokestatic com.google.common.net.InetAddresses.bytesToInetAddress:([B)Ljava/net/InetAddress;
checkcast java.net.Inet4Address
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bytes [B
MethodParameters:
Name Flags
bytes
public static java.net.InetAddress forString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.ipStringToBytes:(Ljava/lang/String;)[B
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "'%s' is not an IP string literal."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic com.google.common.net.InetAddresses.formatIllegalArgumentException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: byte[]
StackMap stack:
aload 1
invokestatic com.google.common.net.InetAddresses.bytesToInetAddress:([B)Ljava/net/InetAddress;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ipString Ljava/lang/String;
1 4 1 addr [B
MethodParameters:
Name Flags
ipString
public static boolean isInetAddress(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.ipStringToBytes:(Ljava/lang/String;)[B
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ipString Ljava/lang/String;
MethodParameters:
Name Flags
ipString
private static byte[] ipStringToBytes(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 16
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 46
if_icmpne 8
6: iconst_1
istore 2
7: goto 15
StackMap locals: int
StackMap stack:
8: iload 4
bipush 58
if_icmpne 13
9: iload 2
ifeq 11
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
iconst_1
istore 1
12: goto 15
StackMap locals:
StackMap stack:
13: iload 4
bipush 16
invokestatic java.lang.Character.digit:(CI)I
iconst_m1
if_icmpne 15
14: aconst_null
areturn
end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 4
end local 3 17: iload 1
ifeq 23
18: iload 2
ifeq 22
19: aload 0
invokestatic com.google.common.net.InetAddresses.convertDottedQuadToHex:(Ljava/lang/String;)Ljava/lang/String;
astore 0
20: aload 0
ifnonnull 22
21: aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.net.InetAddresses.textToNumericFormatV6:(Ljava/lang/String;)[B
areturn
23: StackMap locals:
StackMap stack:
iload 2
ifeq 25
24: aload 0
invokestatic com.google.common.net.InetAddresses.textToNumericFormatV4:(Ljava/lang/String;)[B
areturn
25: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 ipString Ljava/lang/String;
1 26 1 hasColon Z
2 26 2 hasDot Z
3 17 3 i I
5 15 4 c C
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
ipString
private static byte[] textToNumericFormatV4(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iconst_4
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: getstatic com.google.common.net.InetAddresses.IPV4_SPLITTER:Lcom/google/common/base/Splitter;
aload 0
invokevirtual com.google.common.base.Splitter.split:(Ljava/lang/CharSequence;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.lang.String byte[] int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 1
iload 2
iinc 2 1
aload 3
invokestatic com.google.common.net.InetAddresses.parseOctet:(Ljava/lang/String;)B
bastore
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: goto 9
StackMap locals: java.lang.String byte[] int
StackMap stack: java.lang.NumberFormatException
7: pop
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
iload 2
iconst_4
if_icmpne 10
aload 1
goto 11
StackMap locals:
StackMap stack:
10: aconst_null
StackMap locals:
StackMap stack: byte[]
11: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ipString Ljava/lang/String;
1 12 1 bytes [B
2 12 2 i I
4 5 3 octet Ljava/lang/String;
Exception table:
from to target type
2 6 7 Class java.lang.NumberFormatException
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
ipString
private static byte[] textToNumericFormatV6(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic com.google.common.net.InetAddresses.IPV6_SPLITTER:Lcom/google/common/base/Splitter;
aload 0
invokevirtual com.google.common.base.Splitter.splitToList:(Ljava/lang/CharSequence;)Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.size:()I
iconst_3
if_icmplt 2
aload 1
invokeinterface java.util.List.size:()I
bipush 9
if_icmple 3
2: StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
iconst_m1
istore 2
start local 2 4: iconst_1
istore 3
start local 3 5: goto 11
6: StackMap locals: int int
StackMap stack:
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
ifne 10
7: iload 2
iflt 9
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
iload 3
istore 2
10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 6
end local 3 12: iload 2
iflt 19
13: iload 2
istore 3
start local 3 14: aload 1
invokeinterface java.util.List.size:()I
iload 2
isub
iconst_1
isub
istore 4
start local 4 15: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
ifne 17
iinc 3 -1
iload 3
ifeq 17
16: aconst_null
areturn
17: StackMap locals: int
StackMap stack:
aload 1
invokestatic com.google.common.collect.Iterables.getLast:(Ljava/lang/Iterable;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
ifne 21
iinc 4 -1
iload 4
ifeq 21
18: aconst_null
areturn
end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 20: iconst_0
istore 4
start local 4 21: StackMap locals: int int
StackMap stack:
bipush 8
iload 3
iload 4
iadd
isub
istore 5
start local 5 22: iload 2
iflt 23
iload 5
iconst_1
if_icmpge 25
goto 24
StackMap locals: int
StackMap stack:
23: iload 5
ifeq 25
24: StackMap locals:
StackMap stack:
aconst_null
areturn
25: StackMap locals:
StackMap stack:
bipush 16
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 6
start local 6 26: iconst_0
istore 7
start local 7 27: goto 30
28: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 6
aload 1
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.google.common.net.InetAddresses.parseHextet:(Ljava/lang/String;)S
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
29: iinc 7 1
StackMap locals:
StackMap stack:
30: iload 7
iload 3
if_icmplt 28
end local 7 31: iconst_0
istore 7
start local 7 32: goto 35
33: StackMap locals:
StackMap stack:
aload 6
iconst_0
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
34: iinc 7 1
StackMap locals:
StackMap stack:
35: iload 7
iload 5
if_icmplt 33
end local 7 36: iload 4
istore 7
start local 7 37: goto 40
38: StackMap locals:
StackMap stack:
aload 6
aload 1
aload 1
invokeinterface java.util.List.size:()I
iload 7
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.google.common.net.InetAddresses.parseHextet:(Ljava/lang/String;)S
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
39: iinc 7 -1
StackMap locals:
StackMap stack:
40: iload 7
ifgt 38
end local 7 41: goto 44
StackMap locals: java.lang.String java.util.List int int int int java.nio.ByteBuffer
StackMap stack: java.lang.NumberFormatException
42: pop
43: aconst_null
areturn
44: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 ipString Ljava/lang/String;
1 45 1 parts Ljava/util/List<Ljava/lang/String;>;
4 45 2 skipIndex I
5 12 3 i I
14 19 3 partsHi I
20 45 3 partsHi I
15 19 4 partsLo I
21 45 4 partsLo I
22 45 5 partsSkipped I
26 45 6 rawBytes Ljava/nio/ByteBuffer;
27 31 7 i I
32 36 7 i I
37 41 7 i I
Exception table:
from to target type
26 41 42 Class java.lang.NumberFormatException
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
ipString
private static java.lang.String convertDottedQuadToHex(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: aload 0
iconst_0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 2: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokestatic com.google.common.net.InetAddresses.textToNumericFormatV4:(Ljava/lang/String;)[B
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: java.lang.String int java.lang.String java.lang.String byte[]
StackMap stack:
aload 4
iconst_0
baload
sipush 255
iand
bipush 8
ishl
aload 4
iconst_1
baload
sipush 255
iand
ior
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 5
start local 5 7: aload 4
iconst_2
baload
sipush 255
iand
bipush 8
ishl
aload 4
iconst_3
baload
sipush 255
iand
ior
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 6
start local 6 8: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ipString Ljava/lang/String;
1 9 1 lastColon I
2 9 2 initialPart Ljava/lang/String;
3 9 3 dottedQuad Ljava/lang/String;
4 9 4 quad [B
7 9 5 penultimate Ljava/lang/String;
8 9 6 ultimate Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
ipString
private static byte parseOctet(java.lang.String);
descriptor: (Ljava/lang/String;)B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
sipush 255
if_icmpgt 2
aload 0
ldc "0"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 3
2: StackMap locals: int
StackMap stack:
new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 1
i2b
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ipPart Ljava/lang/String;
1 4 1 octet I
MethodParameters:
Name Flags
ipPart
private static short parseHextet(java.lang.String);
descriptor: (Ljava/lang/String;)S
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 1
start local 1 1: iload 1
ldc 65535
if_icmple 3
2: new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
i2s
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ipPart Ljava/lang/String;
1 4 1 hextet I
MethodParameters:
Name Flags
ipPart
private static java.net.InetAddress bytesToInetAddress(byte[]);
descriptor: ([B)Ljava/net/InetAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.net.InetAddress.getByAddress:([B)Ljava/net/InetAddress;
1: areturn
2: StackMap locals:
StackMap stack: java.net.UnknownHostException
astore 1
start local 1 3: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 addr [B
3 4 1 e Ljava/net/UnknownHostException;
Exception table:
from to target type
0 1 2 Class java.net.UnknownHostException
MethodParameters:
Name Flags
addr
public static java.lang.String toAddrString(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
instanceof java.net.Inet4Address
ifeq 3
2: aload 0
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
instanceof java.net.Inet6Address
invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
4: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 5: bipush 8
newarray 10
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 10
8: StackMap locals: byte[] int[] int
StackMap stack:
aload 2
iload 3
iconst_0
iconst_0
aload 1
iconst_2
iload 3
imul
baload
aload 1
iconst_2
iload 3
imul
iconst_1
iadd
baload
invokestatic com.google.common.primitives.Ints.fromBytes:(BBBB)I
iastore
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 2
arraylength
if_icmplt 8
end local 3 11: aload 2
invokestatic com.google.common.net.InetAddresses.compressLongestRunOfZeroes:([I)V
12: aload 2
invokestatic com.google.common.net.InetAddresses.hextetsToIPv6String:([I)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 ip Ljava/net/InetAddress;
5 13 1 bytes [B
6 13 2 hextets [I
7 11 3 i I
MethodParameters:
Name Flags
ip
private static void compressLongestRunOfZeroes(int[]);
descriptor: ([I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: iconst_m1
istore 2
start local 2 2: iconst_m1
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 16
5: StackMap locals: int[] int int int int
StackMap stack:
iload 4
aload 0
arraylength
if_icmpge 9
aload 0
iload 4
iaload
ifne 9
6: iload 3
ifge 15
7: iload 4
istore 3
8: goto 15
StackMap locals:
StackMap stack:
9: iload 3
iflt 15
10: iload 4
iload 3
isub
istore 5
start local 5 11: iload 5
iload 2
if_icmple 14
12: iload 3
istore 1
13: iload 5
istore 2
14: StackMap locals: int
StackMap stack:
iconst_m1
istore 3
end local 5 15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 0
arraylength
iconst_1
iadd
if_icmplt 5
end local 4 17: iload 2
iconst_2
if_icmplt 19
18: aload 0
iload 1
iload 1
iload 2
iadd
iconst_m1
invokestatic java.util.Arrays.fill:([IIII)V
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 hextets [I
1 20 1 bestRunStart I
2 20 2 bestRunLength I
3 20 3 runStart I
4 17 4 i I
11 15 5 runLength I
MethodParameters:
Name Flags
hextets
private static java.lang.String hextetsToIPv6String(int[]);
descriptor: ([I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 39
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 16
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 3
iaload
iflt 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: iload 4
ifeq 12
8: iload 2
ifeq 10
9: aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 3
iaload
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 14
12: StackMap locals:
StackMap stack:
iload 3
ifeq 13
iload 2
ifeq 14
13: StackMap locals:
StackMap stack:
aload 1
ldc "::"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
iload 4
istore 2
end local 4 15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
arraylength
if_icmplt 4
end local 3 17: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 hextets [I
1 18 1 buf Ljava/lang/StringBuilder;
2 18 2 lastWasNumber Z
3 17 3 i I
7 15 4 thisIsNumber Z
MethodParameters:
Name Flags
hextets
public static java.lang.String toUriString(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.net.Inet6Address
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ip Ljava/net/InetAddress;
MethodParameters:
Name Flags
ip
public static java.net.InetAddress forUriString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.forUriStringNoThrow:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "Not a valid URI IP literal: '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic com.google.common.net.InetAddresses.formatIllegalArgumentException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
3: StackMap locals: java.net.InetAddress
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 hostAddr Ljava/lang/String;
1 4 1 addr Ljava/net/InetAddress;
MethodParameters:
Name Flags
hostAddr
private static java.net.InetAddress forUriStringNoThrow(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/InetAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
aload 0
ldc "]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
2: aload 0
iconst_1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
start local 1 3: bipush 16
istore 2
start local 2 4: goto 7
end local 2 end local 1 5: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 6: iconst_4
istore 2
start local 2 7: StackMap locals: java.lang.String int
StackMap stack:
aload 1
invokestatic com.google.common.net.InetAddresses.ipStringToBytes:(Ljava/lang/String;)[B
astore 3
start local 3 8: aload 3
ifnull 9
aload 3
arraylength
iload 2
if_icmpeq 10
9: StackMap locals: byte[]
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 3
invokestatic com.google.common.net.InetAddresses.bytesToInetAddress:([B)Ljava/net/InetAddress;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 hostAddr Ljava/lang/String;
3 5 1 ipString Ljava/lang/String;
6 11 1 ipString Ljava/lang/String;
4 5 2 expectBytes I
7 11 2 expectBytes I
8 11 3 addr [B
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
hostAddr
public static boolean isUriInetAddress(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.forUriStringNoThrow:(Ljava/lang/String;)Ljava/net/InetAddress;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ipString Ljava/lang/String;
MethodParameters:
Name Flags
ipString
public static boolean isCompatIPv4Address(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet6Address.isIPv4CompatibleAddress:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
astore 1
start local 1 3: aload 1
bipush 12
baload
ifne 8
4: aload 1
bipush 13
baload
ifne 8
5: aload 1
bipush 14
baload
ifne 8
6: aload 1
bipush 15
baload
ifeq 7
aload 1
bipush 15
baload
iconst_1
if_icmpne 8
7: StackMap locals: byte[]
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ip Ljava/net/Inet6Address;
3 9 1 bytes [B
MethodParameters:
Name Flags
ip
public static java.net.Inet4Address getCompatIPv4Address(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isCompatIPv4Address:(Ljava/net/Inet6Address;)Z
ldc "Address '%s' is not IPv4-compatible."
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
1: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
2: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
bipush 12
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ip Ljava/net/Inet6Address;
MethodParameters:
Name Flags
ip
public static boolean is6to4Address(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
astore 1
start local 1 1: aload 1
iconst_0
baload
bipush 32
if_icmpne 2
aload 1
iconst_1
baload
iconst_2
if_icmpne 2
iconst_1
ireturn
StackMap locals: byte[]
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ip Ljava/net/Inet6Address;
1 3 1 bytes [B
MethodParameters:
Name Flags
ip
public static java.net.Inet4Address get6to4IPv4Address(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.is6to4Address:(Ljava/net/Inet6Address;)Z
ldc "Address '%s' is not a 6to4 address."
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
iconst_2
bipush 6
invokestatic java.util.Arrays.copyOfRange:([BII)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ip Ljava/net/Inet6Address;
MethodParameters:
Name Flags
ip
public static boolean isTeredoAddress(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
astore 1
start local 1 1: aload 1
iconst_0
baload
bipush 32
if_icmpne 6
2: aload 1
iconst_1
baload
iconst_1
if_icmpne 6
3: aload 1
iconst_2
baload
ifne 6
4: aload 1
iconst_3
baload
ifne 6
5: iconst_1
ireturn
StackMap locals: byte[]
StackMap stack:
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ip Ljava/net/Inet6Address;
1 7 1 bytes [B
MethodParameters:
Name Flags
ip
public static com.google.common.net.InetAddresses$TeredoInfo getTeredoInfo(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Lcom/google/common/net/InetAddresses$TeredoInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isTeredoAddress:(Ljava/net/Inet6Address;)Z
ldc "Address '%s' is not a Teredo address."
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
astore 1
start local 1 2: aload 1
iconst_4
bipush 8
invokestatic java.util.Arrays.copyOfRange:([BII)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
astore 2
start local 2 3: aload 1
bipush 8
invokestatic com.google.common.io.ByteStreams.newDataInput:([BI)Lcom/google/common/io/ByteArrayDataInput;
invokeinterface com.google.common.io.ByteArrayDataInput.readShort:()S
ldc 65535
iand
istore 3
start local 3 4: aload 1
bipush 10
invokestatic com.google.common.io.ByteStreams.newDataInput:([BI)Lcom/google/common/io/ByteArrayDataInput;
invokeinterface com.google.common.io.ByteArrayDataInput.readShort:()S
iconst_m1
ixor
ldc 65535
iand
istore 4
start local 4 5: aload 1
bipush 12
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 10
8: StackMap locals: java.net.Inet6Address byte[] java.net.Inet4Address int int byte[] int
StackMap stack:
aload 5
iload 6
aload 5
iload 6
baload
iconst_m1
ixor
i2b
bastore
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 5
arraylength
if_icmplt 8
end local 6 11: aload 5
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
astore 6
start local 6 12: new com.google.common.net.InetAddresses$TeredoInfo
dup
aload 2
aload 6
iload 4
iload 3
invokespecial com.google.common.net.InetAddresses$TeredoInfo.<init>:(Ljava/net/Inet4Address;Ljava/net/Inet4Address;II)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 ip Ljava/net/Inet6Address;
2 13 1 bytes [B
3 13 2 server Ljava/net/Inet4Address;
4 13 3 flags I
5 13 4 port I
6 13 5 clientBytes [B
7 11 6 i I
12 13 6 client Ljava/net/Inet4Address;
MethodParameters:
Name Flags
ip
public static boolean isIsatapAddress(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isTeredoAddress:(Ljava/net/Inet6Address;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
astore 1
start local 1 3: aload 1
bipush 8
baload
iconst_3
ior
iconst_3
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals: byte[]
StackMap stack:
aload 1
bipush 9
baload
ifne 6
aload 1
bipush 10
baload
bipush 94
if_icmpne 6
aload 1
bipush 11
baload
bipush -2
if_icmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ip Ljava/net/Inet6Address;
3 7 1 bytes [B
MethodParameters:
Name Flags
ip
public static java.net.Inet4Address getIsatapIPv4Address(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isIsatapAddress:(Ljava/net/Inet6Address;)Z
ldc "Address '%s' is not an ISATAP address."
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual java.net.Inet6Address.getAddress:()[B
bipush 12
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ip Ljava/net/Inet6Address;
MethodParameters:
Name Flags
ip
public static boolean hasEmbeddedIPv4ClientAddress(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isCompatIPv4Address:(Ljava/net/Inet6Address;)Z
ifne 1
aload 0
invokestatic com.google.common.net.InetAddresses.is6to4Address:(Ljava/net/Inet6Address;)Z
ifne 1
aload 0
invokestatic com.google.common.net.InetAddresses.isTeredoAddress:(Ljava/net/Inet6Address;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ip Ljava/net/Inet6Address;
MethodParameters:
Name Flags
ip
public static java.net.Inet4Address getEmbeddedIPv4ClientAddress(java.net.Inet6Address);
descriptor: (Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.isCompatIPv4Address:(Ljava/net/Inet6Address;)Z
ifeq 2
1: aload 0
invokestatic com.google.common.net.InetAddresses.getCompatIPv4Address:(Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.net.InetAddresses.is6to4Address:(Ljava/net/Inet6Address;)Z
ifeq 4
3: aload 0
invokestatic com.google.common.net.InetAddresses.get6to4IPv4Address:(Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.net.InetAddresses.isTeredoAddress:(Ljava/net/Inet6Address;)Z
ifeq 6
5: aload 0
invokestatic com.google.common.net.InetAddresses.getTeredoInfo:(Ljava/net/Inet6Address;)Lcom/google/common/net/InetAddresses$TeredoInfo;
invokevirtual com.google.common.net.InetAddresses$TeredoInfo.getClient:()Ljava/net/Inet4Address;
areturn
6: StackMap locals:
StackMap stack:
ldc "'%s' has no embedded IPv4 address."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokestatic com.google.common.net.InetAddresses.toAddrString:(Ljava/net/InetAddress;)Ljava/lang/String;
aastore
invokestatic com.google.common.net.InetAddresses.formatIllegalArgumentException:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ip Ljava/net/Inet6Address;
MethodParameters:
Name Flags
ip
public static boolean isMappedIPv4Address(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.ipStringToBytes:(Ljava/lang/String;)[B
astore 1
start local 1 1: aload 1
ifnull 15
aload 1
arraylength
bipush 16
if_icmpne 15
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
baload
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
bipush 10
if_icmplt 4
end local 2 8: bipush 10
istore 2
start local 2 9: goto 13
10: StackMap locals:
StackMap stack:
aload 1
iload 2
baload
iconst_m1
if_icmpeq 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
bipush 12
if_icmplt 10
end local 2 14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 ipString Ljava/lang/String;
1 16 1 bytes [B
3 8 2 i I
9 14 2 i I
MethodParameters:
Name Flags
ipString
public static java.net.Inet4Address getCoercedIPv4Address(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
instanceof java.net.Inet4Address
ifeq 2
1: aload 0
checkcast java.net.Inet4Address
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 3: iconst_1
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 10
6: StackMap locals: byte[] int int
StackMap stack:
aload 1
iload 3
baload
ifeq 9
7: iconst_0
istore 2
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
bipush 15
if_icmplt 6
end local 3 11: StackMap locals:
StackMap stack:
iload 2
ifeq 13
aload 1
bipush 15
baload
iconst_1
if_icmpne 13
12: getstatic com.google.common.net.InetAddresses.LOOPBACK4:Ljava/net/Inet4Address;
areturn
13: StackMap locals:
StackMap stack:
iload 2
ifeq 15
aload 1
bipush 15
baload
ifne 15
14: getstatic com.google.common.net.InetAddresses.ANY4:Ljava/net/Inet4Address;
areturn
15: StackMap locals:
StackMap stack:
aload 0
checkcast java.net.Inet6Address
astore 3
start local 3 16: lconst_0
lstore 4
start local 4 17: aload 3
invokestatic com.google.common.net.InetAddresses.hasEmbeddedIPv4ClientAddress:(Ljava/net/Inet6Address;)Z
ifeq 20
18: aload 3
invokestatic com.google.common.net.InetAddresses.getEmbeddedIPv4ClientAddress:(Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
invokevirtual java.net.Inet4Address.hashCode:()I
i2l
lstore 4
19: goto 21
20: StackMap locals: java.net.Inet6Address long
StackMap stack:
aload 3
invokevirtual java.net.Inet6Address.getAddress:()[B
iconst_0
bipush 8
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getLong:()J
lstore 4
21: StackMap locals:
StackMap stack:
invokestatic com.google.common.hash.Hashing.murmur3_32:()Lcom/google/common/hash/HashFunction;
lload 4
invokeinterface com.google.common.hash.HashFunction.hashLong:(J)Lcom/google/common/hash/HashCode;
invokevirtual com.google.common.hash.HashCode.asInt:()I
istore 6
start local 6 22: iload 6
ldc -536870912
ior
istore 6
23: iload 6
iconst_m1
if_icmpne 25
24: bipush -2
istore 6
25: StackMap locals: int
StackMap stack:
iload 6
invokestatic com.google.common.primitives.Ints.toByteArray:(I)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 ip Ljava/net/InetAddress;
3 26 1 bytes [B
4 26 2 leadingBytesOfZero Z
5 11 3 i I
16 26 3 ip6 Ljava/net/Inet6Address;
17 26 4 addressAsLong J
22 26 6 coercedHash I
MethodParameters:
Name Flags
ip
public static int coerceToInteger(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.net.InetAddresses.getCoercedIPv4Address:(Ljava/net/InetAddress;)Ljava/net/Inet4Address;
invokevirtual java.net.Inet4Address.getAddress:()[B
invokestatic com.google.common.io.ByteStreams.newDataInput:([B)Lcom/google/common/io/ByteArrayDataInput;
invokeinterface com.google.common.io.ByteArrayDataInput.readInt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ip Ljava/net/InetAddress;
MethodParameters:
Name Flags
ip
public static java.net.Inet4Address fromInteger(int);
descriptor: (I)Ljava/net/Inet4Address;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic com.google.common.primitives.Ints.toByteArray:(I)[B
invokestatic com.google.common.net.InetAddresses.getInet4Address:([B)Ljava/net/Inet4Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address I
MethodParameters:
Name Flags
address
public static java.net.InetAddress fromLittleEndianByteArray(byte[]);
descriptor: ([B)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
aload 0
aload 0
arraylength
iload 2
isub
iconst_1
isub
baload
bastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
invokestatic java.net.InetAddress.getByAddress:([B)Ljava/net/InetAddress;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 addr [B
1 7 1 reversed [B
2 6 2 i I
Exceptions:
throws java.net.UnknownHostException
MethodParameters:
Name Flags
addr
public static java.net.InetAddress decrement(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 1: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
iconst_m1
bastore
4: iinc 2 -1
5: StackMap locals:
StackMap stack:
iload 2
iflt 6
aload 1
iload 2
baload
ifeq 3
6: StackMap locals:
StackMap stack:
iload 2
iflt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "Decrementing %s would wrap."
aload 0
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
9: aload 1
iload 2
dup2
baload
iconst_1
isub
i2b
bastore
10: aload 1
invokestatic com.google.common.net.InetAddresses.bytesToInetAddress:([B)Ljava/net/InetAddress;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 address Ljava/net/InetAddress;
1 11 1 addr [B
2 11 2 i I
MethodParameters:
Name Flags
address
public static java.net.InetAddress increment(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 1: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
iconst_0
bastore
4: iinc 2 -1
5: StackMap locals:
StackMap stack:
iload 2
iflt 6
aload 1
iload 2
baload
iconst_m1
if_icmpeq 3
6: StackMap locals:
StackMap stack:
iload 2
iflt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ldc "Incrementing %s would wrap."
aload 0
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
9: aload 1
iload 2
dup2
baload
iconst_1
iadd
i2b
bastore
10: aload 1
invokestatic com.google.common.net.InetAddresses.bytesToInetAddress:([B)Ljava/net/InetAddress;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 address Ljava/net/InetAddress;
1 11 1 addr [B
2 11 2 i I
MethodParameters:
Name Flags
address
public static boolean isMaximum(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
baload
iconst_m1
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 address Ljava/net/InetAddress;
1 8 1 addr [B
2 7 2 i I
MethodParameters:
Name Flags
address
private static java.lang.IllegalArgumentException formatIllegalArgumentException(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.IllegalArgumentException
dup
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
aload 0
aload 1
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 format Ljava/lang/String;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
format
args
}
SourceFile: "InetAddresses.java"
NestMembers:
com.google.common.net.InetAddresses$TeredoInfo
InnerClasses:
public final TeredoInfo = com.google.common.net.InetAddresses$TeredoInfo of com.google.common.net.InetAddresses
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()