public final class java.net.Inet4Address extends java.net.InetAddress
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.net.Inet4Address
super_class: java.net.InetAddress
{
static final int INADDRSZ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3286316764910316507
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic java.net.Inet4Address.init:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.net.InetAddress.<init>:()V
1: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
aconst_null
putfield java.net.InetAddress$InetAddressHolder.hostName:Ljava/lang/String;
2: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iconst_0
putfield java.net.InetAddress$InetAddressHolder.address:I
3: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iconst_1
putfield java.net.InetAddress$InetAddressHolder.family:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/Inet4Address;
void <init>(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.net.InetAddress.<init>:()V
1: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 1
putfield java.net.InetAddress$InetAddressHolder.hostName:Ljava/lang/String;
2: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iconst_1
putfield java.net.InetAddress$InetAddressHolder.family:I
3: aload 2
ifnull 10
4: aload 2
arraylength
iconst_4
if_icmpne 10
5: aload 2
iconst_3
baload
sipush 255
iand
istore 3
start local 3 6: iload 3
aload 2
iconst_2
baload
bipush 8
ishl
ldc 65280
iand
ior
istore 3
7: iload 3
aload 2
iconst_1
baload
bipush 16
ishl
ldc 16711680
iand
ior
istore 3
8: iload 3
aload 2
iconst_0
baload
bipush 24
ishl
ldc -16777216
iand
ior
istore 3
9: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iload 3
putfield java.net.InetAddress$InetAddressHolder.address:I
end local 3 10: StackMap locals: java.net.Inet4Address java.lang.String byte[]
StackMap stack:
aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 1
putfield java.net.InetAddress$InetAddressHolder.originalHostName:Ljava/lang/String;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/net/Inet4Address;
0 12 1 hostName Ljava/lang/String;
0 12 2 addr [B
6 10 3 address I
MethodParameters:
Name Flags
hostName
addr
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.net.InetAddress.<init>:()V
1: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 1
putfield java.net.InetAddress$InetAddressHolder.hostName:Ljava/lang/String;
2: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iconst_1
putfield java.net.InetAddress$InetAddressHolder.family:I
3: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
iload 2
putfield java.net.InetAddress$InetAddressHolder.address:I
4: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 1
putfield java.net.InetAddress$InetAddressHolder.originalHostName:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/net/Inet4Address;
0 6 1 hostName Ljava/lang/String;
0 6 2 address I
MethodParameters:
Name Flags
hostName
address
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.net.InetAddress
dup
invokespecial java.net.InetAddress.<init>:()V
astore 1
start local 1 1: aload 1
invokevirtual java.net.InetAddress.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getHostName:()Ljava/lang/String;
putfield java.net.InetAddress$InetAddressHolder.hostName:Ljava/lang/String;
2: aload 1
invokevirtual java.net.InetAddress.holder:()Ljava/net/InetAddress$InetAddressHolder;
aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
putfield java.net.InetAddress$InetAddressHolder.address:I
3: aload 1
invokevirtual java.net.InetAddress.holder:()Ljava/net/InetAddress$InetAddressHolder;
iconst_2
putfield java.net.InetAddress$InetAddressHolder.family:I
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/Inet4Address;
1 5 1 inet Ljava/net/InetAddress;
Exceptions:
throws java.io.ObjectStreamException
public boolean isMulticastAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
ldc -268435456
iand
ldc -536870912
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/Inet4Address;
public boolean isAnyLocalAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/Inet4Address;
public boolean isLoopbackAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.getAddress:()[B
astore 1
start local 1 1: aload 1
iconst_0
baload
bipush 127
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 this Ljava/net/Inet4Address;
1 3 1 byteAddr [B
public boolean isLinkLocalAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iload 1
bipush 24
iushr
sipush 255
iand
sipush 169
if_icmpne 4
2: iload 1
bipush 16
iushr
sipush 255
iand
sipush 254
if_icmpne 4
3: iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/Inet4Address;
1 5 1 address I
public boolean isSiteLocalAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iload 1
bipush 24
iushr
sipush 255
iand
bipush 10
if_icmpeq 7
2: iload 1
bipush 24
iushr
sipush 255
iand
sipush 172
if_icmpne 4
3: iload 1
bipush 16
iushr
sipush 240
iand
bipush 16
if_icmpeq 7
4: StackMap locals: int
StackMap stack:
iload 1
bipush 24
iushr
sipush 255
iand
sipush 192
if_icmpne 6
5: iload 1
bipush 16
iushr
sipush 255
iand
sipush 168
if_icmpeq 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/net/Inet4Address;
1 8 1 address I
public boolean isMCGlobal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.getAddress:()[B
astore 1
start local 1 1: aload 1
iconst_0
baload
sipush 255
iand
sipush 224
if_icmplt 5
aload 1
iconst_0
baload
sipush 255
iand
sipush 238
if_icmpgt 5
2: aload 1
iconst_0
baload
sipush 255
iand
sipush 224
if_icmpne 4
aload 1
iconst_1
baload
ifne 4
3: aload 1
iconst_2
baload
ifeq 5
4: StackMap locals: byte[]
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/net/Inet4Address;
1 6 1 byteAddr [B
public boolean isMCNodeLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Inet4Address;
public boolean isMCLinkLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iload 1
bipush 24
iushr
sipush 255
iand
sipush 224
if_icmpne 5
2: iload 1
bipush 16
iushr
sipush 255
iand
ifne 5
3: iload 1
bipush 8
iushr
sipush 255
iand
ifne 5
4: iconst_1
ireturn
StackMap locals: int
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/net/Inet4Address;
1 6 1 address I
public boolean isMCSiteLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iload 1
bipush 24
iushr
sipush 255
iand
sipush 239
if_icmpne 4
2: iload 1
bipush 16
iushr
sipush 255
iand
sipush 255
if_icmpne 4
3: iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/Inet4Address;
1 5 1 address I
public boolean isMCOrgLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iload 1
bipush 24
iushr
sipush 255
iand
sipush 239
if_icmpne 5
2: iload 1
bipush 16
iushr
sipush 255
iand
sipush 192
if_icmplt 5
3: iload 1
bipush 16
iushr
sipush 255
iand
sipush 195
4: if_icmpgt 5
iconst_1
ireturn
StackMap locals: int
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/net/Inet4Address;
1 6 1 address I
public byte[] getAddress();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
istore 1
start local 1 1: iconst_4
newarray 8
astore 2
start local 2 2: aload 2
iconst_0
iload 1
bipush 24
iushr
sipush 255
iand
i2b
bastore
3: aload 2
iconst_1
iload 1
bipush 16
iushr
sipush 255
iand
i2b
bastore
4: aload 2
iconst_2
iload 1
bipush 8
iushr
sipush 255
iand
i2b
bastore
5: aload 2
iconst_3
iload 1
sipush 255
iand
i2b
bastore
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/net/Inet4Address;
1 7 1 address I
2 7 2 addr [B
public java.lang.String getHostAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.getAddress:()[B
invokestatic java.net.Inet4Address.numericToTextFormat:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Inet4Address;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/Inet4Address;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
aload 1
instanceof java.net.Inet4Address
ifeq 3
1: aload 1
checkcast java.net.InetAddress
invokevirtual java.net.InetAddress.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
aload 0
invokevirtual java.net.Inet4Address.holder:()Ljava/net/InetAddress$InetAddressHolder;
invokevirtual java.net.InetAddress$InetAddressHolder.getAddress:()I
if_icmpne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/Inet4Address;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
static java.lang.String numericToTextFormat(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
iconst_0
baload
sipush 255
iand
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iconst_1
baload
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iconst_2
baload
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iconst_3
baload
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 src [B
MethodParameters:
Name Flags
src
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "Inet4Address.java"
InnerClasses:
InetAddressHolder = java.net.InetAddress$InetAddressHolder of java.net.InetAddress