public final class org.jruby.ext.socket.SubnetUtils$SubnetInfo
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.socket.SubnetUtils$SubnetInfo
super_class: java.lang.Object
{
final org.jruby.ext.socket.SubnetUtils this$0;
descriptor: Lorg/jruby/ext/socket/SubnetUtils;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.jruby.ext.socket.SubnetUtils);
descriptor: (Lorg/jruby/ext/socket/SubnetUtils;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
MethodParameters:
Name Flags
this$0 final
private int netmask();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
getfield org.jruby.ext.socket.SubnetUtils.netmask:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
private int network();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
getfield org.jruby.ext.socket.SubnetUtils.network:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
private int address();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
getfield org.jruby.ext.socket.SubnetUtils.address:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
private int broadcast();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
getfield org.jruby.ext.socket.SubnetUtils.broadcast:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
private int low();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
invokevirtual org.jruby.ext.socket.SubnetUtils.isInclusiveHostCount:()Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
goto 3
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
isub
iconst_1
if_icmple 2
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
iconst_1
iadd
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
private int high();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
invokevirtual org.jruby.ext.socket.SubnetUtils.isInclusiveHostCount:()Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
goto 3
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
isub
iconst_1
if_icmple 2
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
iconst_1
isub
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public boolean isInRange(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 1
invokevirtual org.jruby.ext.socket.SubnetUtils.toInteger:(Ljava/lang/String;)I
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.isInRange:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
0 1 1 address Ljava/lang/String;
MethodParameters:
Name Flags
address
private boolean isInRange(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.low:()I
isub
istore 2
start local 2 1: iload 2
iflt 2
iload 2
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.high:()I
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.low:()I
isub
if_icmpgt 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
0 3 1 address I
1 3 2 diff I
MethodParameters:
Name Flags
address
public java.lang.String getBroadcastAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String getNetworkAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String getNetmask();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.netmask:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String getAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.address:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String getLowAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.low:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String getHighAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.high:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public int getAddressCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.broadcast:()I
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.network:()I
isub
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
invokevirtual org.jruby.ext.socket.SubnetUtils.isInclusiveHostCount:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_m1
StackMap locals: org.jruby.ext.socket.SubnetUtils$SubnetInfo
StackMap stack: int int
2: iadd
istore 1
start local 1 3: iload 1
ifge 4
iconst_0
goto 5
StackMap locals: int
StackMap stack:
4: iload 1
StackMap locals:
StackMap stack: int
5: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
3 6 1 count I
public int asInteger(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 1
invokevirtual org.jruby.ext.socket.SubnetUtils.toInteger:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
0 1 1 address Ljava/lang/String;
MethodParameters:
Name Flags
address
public java.lang.String getCidrSignature();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
1: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.address:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
2: aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.netmask:()I
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
3: invokevirtual org.jruby.ext.socket.SubnetUtils.toCidrNotation:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
public java.lang.String[] getAllAddresses();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getAddressCount:()I
istore 1
start local 1 1: iload 1
anewarray java.lang.String
astore 2
start local 2 2: iload 1
ifne 4
3: aload 2
areturn
4: StackMap locals: int java.lang.String[]
StackMap stack:
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.low:()I
istore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
aload 0
getfield org.jruby.ext.socket.SubnetUtils$SubnetInfo.this$0:Lorg/jruby/ext/socket/SubnetUtils;
iload 3
invokevirtual org.jruby.ext.socket.SubnetUtils.toArray:(I)[I
invokevirtual org.jruby.ext.socket.SubnetUtils.format:([I)Ljava/lang/String;
aastore
8: iinc 3 1
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.high:()I
if_icmple 7
end local 4 end local 3 10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
1 11 1 ct I
2 11 2 addresses [Ljava/lang/String;
5 10 3 add I
6 10 4 j I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CIDR Signature:\t["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getCidrSignature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] Netmask: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getNetmask:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "Network:\t["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getNetworkAddress:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "Broadcast:\t["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getBroadcastAddress:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "First Address:\t["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getLowAddress:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "Last Address:\t["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getHighAddress:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "# Addresses:\t["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.ext.socket.SubnetUtils$SubnetInfo.getAddressCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/socket/SubnetUtils$SubnetInfo;
}
SourceFile: "SubnetUtils.java"
NestHost: org.jruby.ext.socket.SubnetUtils
InnerClasses:
public final SubnetInfo = org.jruby.ext.socket.SubnetUtils$SubnetInfo of org.jruby.ext.socket.SubnetUtils