class sun.jvm.hotspot.CommandProcessor$Tokens
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.jvm.hotspot.CommandProcessor$Tokens
super_class: java.lang.Object
{
final java.lang.String input;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
int i;
descriptor: I
flags: (0x0000)
java.lang.String[] tokens;
descriptor: [Ljava/lang/String;
flags: (0x0000)
int length;
descriptor: I
flags: (0x0000)
java.lang.String[] splitWhitespace(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "\\s"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: aload 2
arraylength
iconst_1
if_icmpne 3
aload 2
iconst_0
aaload
invokevirtual java.lang.String.length:()I
ifne 3
2: iconst_0
anewarray java.lang.String
areturn
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 4 1 cmd Ljava/lang/String;
1 4 2 t [Ljava/lang/String;
MethodParameters:
Name Flags
cmd
void add(java.lang.String, java.util.ArrayList);
descriptor: (Ljava/lang/String;Ljava/util/ArrayList;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.length:()I
ifle 2
1: aload 2
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 3 1 s Ljava/lang/String;
0 3 2 t Ljava/util/ArrayList;
MethodParameters:
Name Flags
s
t
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.jvm.hotspot.CommandProcessor$Tokens.input:Ljava/lang/String;
2: aload 1
bipush 34
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: iload 2
iconst_m1
if_icmpeq 32
5: goto 30
6: StackMap locals: sun.jvm.hotspot.CommandProcessor$Tokens java.lang.String int java.util.ArrayList
StackMap stack:
iload 2
iconst_m1
if_icmpeq 23
7: aload 1
bipush 34
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 8: iload 4
iconst_m1
if_icmpne 10
9: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "mismatched quotes: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.input:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 11: aload 1
iload 2
iconst_1
iadd
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 12: aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
13: aload 5
invokevirtual java.lang.String.length:()I
ifle 20
14: aload 0
aload 5
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.splitWhitespace:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 15: iconst_0
istore 8
start local 8 16: goto 19
17: StackMap locals: sun.jvm.hotspot.CommandProcessor$Tokens java.lang.String int java.util.ArrayList int java.lang.String java.lang.String java.lang.String[] int
StackMap stack:
aload 0
aload 7
iload 8
aaload
aload 3
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.add:(Ljava/lang/String;Ljava/util/ArrayList;)V
18: iinc 8 1
StackMap locals:
StackMap stack:
19: iload 8
aload 7
arraylength
if_icmplt 17
end local 8 end local 7 20: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 3
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.add:(Ljava/lang/String;Ljava/util/ArrayList;)V
21: aload 1
bipush 34
invokevirtual java.lang.String.indexOf:(I)I
istore 2
end local 6 end local 5 end local 4 22: goto 30
23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.splitWhitespace:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 24: iconst_0
istore 5
start local 5 25: goto 28
26: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
aload 4
iload 5
aaload
aload 3
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.add:(Ljava/lang/String;Ljava/util/ArrayList;)V
27: iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
aload 4
arraylength
if_icmplt 26
end local 5 29: ldc ""
astore 1
end local 4 30: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifgt 6
31: goto 38
32: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.splitWhitespace:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 33: iconst_0
istore 5
start local 5 34: goto 37
35: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
aload 4
iload 5
aaload
aload 3
invokevirtual sun.jvm.hotspot.CommandProcessor$Tokens.add:(Ljava/lang/String;Ljava/util/ArrayList;)V
36: iinc 5 1
StackMap locals:
StackMap stack:
37: iload 5
aload 4
arraylength
if_icmplt 35
end local 5 end local 4 38: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_0
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield sun.jvm.hotspot.CommandProcessor$Tokens.tokens:[Ljava/lang/String;
39: aload 0
iconst_0
putfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
40: aload 0
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.tokens:[Ljava/lang/String;
arraylength
putfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
41: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 42 1 cmd Ljava/lang/String;
3 42 2 quote I
4 42 3 t Ljava/util/ArrayList;
8 22 4 endquote I
11 22 5 before Ljava/lang/String;
12 22 6 quoted Ljava/lang/String;
15 20 7 w [Ljava/lang/String;
16 20 8 i I
24 30 4 w [Ljava/lang/String;
25 29 5 i I
33 38 4 w [Ljava/lang/String;
34 38 5 i I
MethodParameters:
Name Flags
cmd
java.lang.String nextToken();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.tokens:[Ljava/lang/String;
aload 0
dup
getfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
dup_x1
iconst_1
iadd
putfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
boolean hasMoreTokens();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
int countTokens();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
void trim(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
iload 1
if_icmplt 3
1: aload 0
dup
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
iload 1
isub
putfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 5 1 n I
MethodParameters:
Name Flags
n
java.lang.String join(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.i:I
istore 3
start local 3 2: goto 7
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 2
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.tokens:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: iload 3
iconst_1
iadd
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
if_icmpge 6
5: aload 2
aload 1
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
if_icmplt 3
end local 3 8: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 9 1 sep Ljava/lang/String;
1 9 2 result Ljava/lang/StringBuffer;
2 8 3 w I
MethodParameters:
Name Flags
sep
java.lang.String at(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.length:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.CommandProcessor$Tokens.tokens:[Ljava/lang/String;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/CommandProcessor$Tokens;
0 3 1 i I
MethodParameters:
Name Flags
i
}
SourceFile: "CommandProcessor.java"
NestHost: sun.jvm.hotspot.CommandProcessor
InnerClasses:
Tokens = sun.jvm.hotspot.CommandProcessor$Tokens of sun.jvm.hotspot.CommandProcessor