public class io.vertx.core.impl.Args
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.Args
super_class: java.lang.Object
{
public final java.util.Map<java.lang.String, java.lang.String> map;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.core.impl.Args.map:Ljava/util/Map;
2: aconst_null
astore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 14
StackMap locals: io.vertx.core.impl.Args java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
6: aload 2
ifnull 8
7: aload 0
getfield io.vertx.core.impl.Args.map:Ljava/util/Map;
aload 2
ldc ""
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: io.vertx.core.impl.Args java.lang.String[] java.lang.String java.lang.String int int java.lang.String[]
StackMap stack:
aload 3
astore 2
9: goto 13
10: StackMap locals:
StackMap stack:
aload 2
ifnull 13
11: aload 0
getfield io.vertx.core.impl.Args.map:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aconst_null
astore 2
end local 3 13: StackMap locals: io.vertx.core.impl.Args java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 4
15: aload 2
ifnull 17
16: aload 0
getfield io.vertx.core.impl.Args.map:Ljava/util/Map;
aload 2
ldc ""
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: StackMap locals: io.vertx.core.impl.Args java.lang.String[] java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/core/impl/Args;
0 18 1 args [Ljava/lang/String;
3 18 2 currentKey Ljava/lang/String;
5 13 3 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
public int getInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.impl.Args.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 3: goto 7
end local 3 StackMap locals: io.vertx.core.impl.Args java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
4: pop
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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
6: StackMap locals:
StackMap stack:
iconst_m1
istore 3
start local 3 7: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/impl/Args;
0 8 1 argName Ljava/lang/String;
1 8 2 arg Ljava/lang/String;
3 4 3 val I
7 8 3 val I
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
argName
}
SourceFile: "Args.java"