public final class com.sun.org.apache.bcel.internal.generic.SWITCH implements com.sun.org.apache.bcel.internal.generic.CompoundInstruction
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.generic.SWITCH
super_class: java.lang.Object
{
private int[] match;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.generic.InstructionHandle[] targets;
descriptor: [Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.generic.Select instruction;
descriptor: Lcom/sun/org/apache/bcel/internal/generic/Select;
flags: (0x0002) ACC_PRIVATE
private int match_length;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int[], com.sun.org.apache.bcel.internal.generic.InstructionHandle[], com.sun.org.apache.bcel.internal.generic.InstructionHandle, int);
descriptor: ([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
2: aload 0
aload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.InstructionHandle[].clone:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.InstructionHandle[]
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
3: aload 0
aload 1
arraylength
dup_x1
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
iconst_2
if_icmpge 6
4: aload 0
new com.sun.org.apache.bcel.internal.generic.TABLESWITCH
dup
aload 1
aload 2
aload 3
invokespecial com.sun.org.apache.bcel.internal.generic.TABLESWITCH.<init>:([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.instruction:Lcom/sun/org/apache/bcel/internal/generic/Select;
5: goto 12
6: StackMap locals: com.sun.org.apache.bcel.internal.generic.SWITCH int[] com.sun.org.apache.bcel.internal.generic.InstructionHandle[] com.sun.org.apache.bcel.internal.generic.InstructionHandle int
StackMap stack:
aload 0
iconst_0
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
iconst_1
isub
invokevirtual com.sun.org.apache.bcel.internal.generic.SWITCH.sort:(II)V
7: aload 0
iload 4
invokevirtual com.sun.org.apache.bcel.internal.generic.SWITCH.matchIsOrdered:(I)Z
ifeq 11
8: aload 0
iload 4
aload 3
invokevirtual com.sun.org.apache.bcel.internal.generic.SWITCH.fillup:(ILcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
9: aload 0
new com.sun.org.apache.bcel.internal.generic.TABLESWITCH
dup
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
aload 3
invokespecial com.sun.org.apache.bcel.internal.generic.TABLESWITCH.<init>:([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.instruction:Lcom/sun/org/apache/bcel/internal/generic/Select;
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
new com.sun.org.apache.bcel.internal.generic.LOOKUPSWITCH
dup
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
aload 3
invokespecial com.sun.org.apache.bcel.internal.generic.LOOKUPSWITCH.<init>:([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.instruction:Lcom/sun/org/apache/bcel/internal/generic/Select;
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
0 13 1 match [I
0 13 2 targets [Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
0 13 3 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
0 13 4 max_gap I
MethodParameters:
Name Flags
match final
targets final
target final
max_gap final
public void <init>(int[], com.sun.org.apache.bcel.internal.generic.InstructionHandle[], com.sun.org.apache.bcel.internal.generic.InstructionHandle);
descriptor: ([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokespecial com.sun.org.apache.bcel.internal.generic.SWITCH.<init>:([I[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
0 2 1 match [I
0 2 2 targets [Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
0 2 3 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
MethodParameters:
Name Flags
match final
targets final
target final
private void fillup(int, com.sun.org.apache.bcel.internal.generic.InstructionHandle);
descriptor: (ILcom/sun/org/apache/bcel/internal/generic/InstructionHandle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
iload 1
imul
iadd
istore 3
start local 3 1: iload 3
newarray 10
astore 4
start local 4 2: iload 3
anewarray com.sun.org.apache.bcel.internal.generic.InstructionHandle
astore 5
start local 5 3: iconst_1
istore 6
start local 6 4: aload 4
iconst_0
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iconst_0
iaload
iastore
5: aload 5
iconst_0
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iconst_0
aaload
aastore
6: iconst_1
istore 7
start local 7 7: goto 21
8: StackMap locals: com.sun.org.apache.bcel.internal.generic.SWITCH int com.sun.org.apache.bcel.internal.generic.InstructionHandle int int[] com.sun.org.apache.bcel.internal.generic.InstructionHandle[] int int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 7
iconst_1
isub
iaload
istore 8
start local 8 9: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 7
iaload
iload 8
isub
istore 9
start local 9 10: iconst_1
istore 10
start local 10 11: goto 16
12: StackMap locals: int int int
StackMap stack:
aload 4
iload 6
iload 8
iload 10
iadd
iastore
13: aload 5
iload 6
aload 2
aastore
14: iinc 6 1
15: iinc 10 1
StackMap locals:
StackMap stack:
16: iload 10
iload 9
if_icmplt 12
end local 10 17: aload 4
iload 6
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 7
iaload
iastore
18: aload 5
iload 6
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iload 7
aaload
aastore
19: iinc 6 1
end local 9 end local 8 20: iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
if_icmplt 8
end local 7 22: aload 0
iload 6
newarray 10
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
23: aload 0
iload 6
anewarray com.sun.org.apache.bcel.internal.generic.InstructionHandle
putfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
24: aload 4
iconst_0
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iconst_0
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: aload 5
iconst_0
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iconst_0
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
26: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
0 27 1 max_gap I
0 27 2 target Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
1 27 3 max_size I
2 27 4 m_vec [I
3 27 5 t_vec [Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
4 27 6 count I
7 22 7 i I
9 20 8 prev I
10 20 9 gap I
11 17 10 j I
MethodParameters:
Name Flags
max_gap final
target final
private void sort(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: iload 2
istore 4
start local 4 2: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 1
iload 2
iadd
iconst_2
idiv
iaload
istore 6
start local 6 3: goto 5
4: StackMap locals: com.sun.org.apache.bcel.internal.generic.SWITCH int int int int top int
StackMap stack:
iinc 3 1
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 3
iaload
iload 6
if_icmplt 4
6: goto 8
7: StackMap locals:
StackMap stack:
iinc 4 -1
8: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 4
iaload
if_icmplt 7
9: iload 3
iload 4
if_icmpgt 18
10: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 3
iaload
istore 5
start local 5 11: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 3
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 4
iaload
iastore
12: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 4
iload 5
iastore
13: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iload 3
aaload
astore 7
start local 7 14: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iload 3
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iload 4
aaload
aastore
15: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.targets:[Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
iload 4
aload 7
aastore
16: iinc 3 1
17: iinc 4 -1
end local 7 end local 5 18: StackMap locals:
StackMap stack:
iload 3
iload 4
19: if_icmple 5
20: iload 1
iload 4
if_icmpge 22
21: aload 0
iload 1
iload 4
invokevirtual com.sun.org.apache.bcel.internal.generic.SWITCH.sort:(II)V
22: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 24
23: aload 0
iload 3
iload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.SWITCH.sort:(II)V
24: StackMap locals:
StackMap stack:
return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
0 25 1 l I
0 25 2 r I
1 25 3 i I
2 25 4 j I
11 18 5 h I
3 25 6 m I
14 18 7 h2 Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
MethodParameters:
Name Flags
l final
r final
private boolean matchIsOrdered(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 2
iaload
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match:[I
iload 2
iconst_1
isub
iaload
isub
iload 1
if_icmple 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.match_length:I
if_icmplt 2
end local 2 6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
0 7 1 max_gap I
1 6 2 i I
MethodParameters:
Name Flags
max_gap final
public final com.sun.org.apache.bcel.internal.generic.InstructionList getInstructionList();
descriptor: ()Lcom/sun/org/apache/bcel/internal/generic/InstructionList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.org.apache.bcel.internal.generic.InstructionList
dup
aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.instruction:Lcom/sun/org/apache/bcel/internal/generic/Select;
invokespecial com.sun.org.apache.bcel.internal.generic.InstructionList.<init>:(Lcom/sun/org/apache/bcel/internal/generic/BranchInstruction;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
public final com.sun.org.apache.bcel.internal.generic.Instruction getInstruction();
descriptor: ()Lcom/sun/org/apache/bcel/internal/generic/Instruction;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.SWITCH.instruction:Lcom/sun/org/apache/bcel/internal/generic/Select;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/SWITCH;
}
SourceFile: "SWITCH.java"