public class org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network
super_class: java.lang.Object
{
private org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask networkMask;
descriptor: Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address first;
descriptor: Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address last;
descriptor: Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address address;
descriptor: Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
flags: (0x0002) ACC_PRIVATE
private void <init>(org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address, org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask);
descriptor: (Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
aload 2
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.maskWithNetworkMask:(Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;)Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
putfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.first:Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
2: aload 0
aload 1
aload 2
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.maximumAddressWithNetworkMask:(Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;)Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
putfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.last:Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
3: aload 0
aload 1
aload 2
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.maskWithNetworkMask:(Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;)Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
putfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.address:Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
4: aload 0
aload 2
putfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.networkMask:Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
0 6 1 address Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
0 6 2 networkMask Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
MethodParameters:
Name Flags
address
networkMask
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
public org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Expected format is network-address/prefix-length"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.parseNetworkAddress:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 1
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.parsePrefixLength:(Ljava/lang/String;)I
istore 3
start local 3 4: new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address
dup
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.<init>:()V
aload 2
invokevirtual org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.fromString:(Ljava/lang/String;)Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
astore 4
start local 4 5: new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network
dup
aload 4
new org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask
dup
iload 3
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.<init>:(I)V
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.<init>:(Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
0 6 1 string Ljava/lang/String;
3 6 2 networkAddressString Ljava/lang/String;
4 6 3 prefixLength I
5 6 4 networkAddress Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
MethodParameters:
Name Flags
string
private java.lang.String parseNetworkAddress(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
private int parsePrefixLength(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: new java.lang.IllegalArgumentException
dup
ldc "Prefix length should be a positive integer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
0 4 1 string Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
string
public org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask getNetmask();
descriptor: ()Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network.networkMask:Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Network;
}
SourceFile: "SocketUtilsIPV6.java"
NestHost: org.jruby.ext.socket.SocketUtilsIPV6
InnerClasses:
public IPv6Address = org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address of org.jruby.ext.socket.SocketUtilsIPV6
public IPv6Network = org.jruby.ext.socket.SocketUtilsIPV6$IPv6Network of org.jruby.ext.socket.SocketUtilsIPV6
public IPv6NetworkMask = org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask of org.jruby.ext.socket.SocketUtilsIPV6