public class org.glassfish.grizzly.PortRange
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.PortRange
super_class: java.lang.Object
{
private static final java.util.regex.Pattern FORMAT;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int lower;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int upper;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "(\\d+)(?:(?:,|:)(\\d+))?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
1: putstatic org.glassfish.grizzly.PortRange.FORMAT:Ljava/util/regex/Pattern;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
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: iload 1
iconst_1
if_icmplt 2
iload 2
iload 1
if_icmplt 2
ldc 65535
iload 2
if_icmpge 3
2: StackMap locals: org.glassfish.grizzly.PortRange int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid range"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.PortRange.lower:I
4: aload 0
iload 2
putfield org.glassfish.grizzly.PortRange.upper:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/PortRange;
0 6 1 low I
0 6 2 high I
MethodParameters:
Name Flags
low final
high final
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iload 1
invokespecial org.glassfish.grizzly.PortRange.<init>:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/PortRange;
0 2 1 port I
MethodParameters:
Name Flags
port final
public static org.glassfish.grizzly.PortRange valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/PortRange;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.PortRange.FORMAT:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid string format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 4: aload 1
invokevirtual java.util.regex.Matcher.groupCount:()I
iconst_1
if_icmpne 5
iload 2
goto 6
StackMap locals: int
StackMap stack:
5: aload 1
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: goto 10
end local 3 end local 2 StackMap locals: java.lang.String java.util.regex.Matcher
StackMap stack: java.lang.NumberFormatException
8: pop
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid string format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 2 start local 3 10: StackMap locals: int int
StackMap stack:
new org.glassfish.grizzly.PortRange
dup
iload 2
iload 3
invokespecial org.glassfish.grizzly.PortRange.<init>:(II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 s Ljava/lang/String;
1 11 1 m Ljava/util/regex/Matcher;
4 8 2 low I
10 11 2 low I
7 8 3 high I
10 11 3 high I
Exception table:
from to target type
3 7 8 Class java.lang.NumberFormatException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
s
public int getLower();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.PortRange.lower:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/PortRange;
public int getUpper();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.PortRange.upper:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/PortRange;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%d:%d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.glassfish.grizzly.PortRange.lower:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.PortRange.upper:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/PortRange;
}
SourceFile: "PortRange.java"