public class org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask
super_class: java.lang.Object
{
private final int prefixLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iflt 2
iload 1
sipush 128
if_icmple 3
2: StackMap locals: org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "prefix length should be in interval [0, 128]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
0 5 1 prefixLength I
MethodParameters:
Name Flags
prefixLength
public int asPrefixLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
public org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address asAddress();
descriptor: ()Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
sipush 128
if_icmpne 2
1: new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address
dup
ldc -1
ldc -1
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.<init>:(JJ)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
bipush 64
if_icmpne 4
3: new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address
dup
ldc -1
lconst_0
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.<init>:(JJ)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
bipush 64
if_icmple 7
5: aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
bipush 64
isub
istore 1
start local 1 6: new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address
dup
ldc -1
ldc -1
bipush 64
iload 1
isub
lshl
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.<init>:(JJ)V
areturn
end local 1 7: StackMap locals:
StackMap stack:
new org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address
dup
ldc -1
bipush 64
aload 0
getfield org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask.prefixLength:I
isub
lshl
lconst_0
invokespecial org.jruby.ext.socket.SocketUtilsIPV6$IPv6Address.<init>:(JJ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/socket/SocketUtilsIPV6$IPv6NetworkMask;
6 7 1 remainingPrefixLength I
}
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 IPv6NetworkMask = org.jruby.ext.socket.SocketUtilsIPV6$IPv6NetworkMask of org.jruby.ext.socket.SocketUtilsIPV6