public final class com.sun.media.sound.ModelStandardIndexedDirector implements com.sun.media.sound.ModelDirector
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.ModelStandardIndexedDirector
super_class: java.lang.Object
{
private final com.sun.media.sound.ModelPerformer[] performers;
descriptor: [Lcom/sun/media/sound/ModelPerformer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.media.sound.ModelDirectedPlayer player;
descriptor: Lcom/sun/media/sound/ModelDirectedPlayer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean noteOnUsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean noteOffUsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte[][] trantables;
descriptor: [[B
flags: (0x0002) ACC_PRIVATE
private int[] counters;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int[][] mat;
descriptor: [[I
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.media.sound.ModelPerformer[], com.sun.media.sound.ModelDirectedPlayer);
descriptor: ([Lcom/sun/media/sound/ModelPerformer;Lcom/sun/media/sound/ModelDirectedPlayer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.media.sound.ModelStandardIndexedDirector.noteOnUsed:Z
2: aload 0
iconst_0
putfield com.sun.media.sound.ModelStandardIndexedDirector.noteOffUsed:Z
3: aload 0
aload 1
aload 1
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast com.sun.media.sound.ModelPerformer[]
putfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
4: aload 0
aload 2
putfield com.sun.media.sound.ModelStandardIndexedDirector.player:Lcom/sun/media/sound/ModelDirectedPlayer;
5: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector com.sun.media.sound.ModelPerformer[] com.sun.media.sound.ModelDirectedPlayer top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
invokevirtual com.sun.media.sound.ModelPerformer.isReleaseTriggered:()Z
ifeq 10
8: aload 0
iconst_1
putfield com.sun.media.sound.ModelStandardIndexedDirector.noteOffUsed:Z
9: goto 11
10: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector com.sun.media.sound.ModelPerformer[] com.sun.media.sound.ModelDirectedPlayer com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
aload 0
iconst_1
putfield com.sun.media.sound.ModelStandardIndexedDirector.noteOnUsed:Z
end local 3 11: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector com.sun.media.sound.ModelPerformer[] com.sun.media.sound.ModelDirectedPlayer top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 6
13: aload 0
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.buildindex:()V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
0 15 1 performers [Lcom/sun/media/sound/ModelPerformer;
0 15 2 player Lcom/sun/media/sound/ModelDirectedPlayer;
7 11 3 p Lcom/sun/media/sound/ModelPerformer;
MethodParameters:
Name Flags
performers final
player final
private int[] lookupIndex(int, int);
descriptor: (II)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 5
iload 1
sipush 128
if_icmpge 5
iload 2
iflt 5
iload 2
sipush 128
if_icmpge 5
1: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_0
aaload
iload 1
baload
istore 3
start local 3 2: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_1
aaload
iload 2
baload
istore 4
start local 4 3: iload 3
iconst_m1
if_icmpeq 5
iload 4
iconst_m1
if_icmpeq 5
4: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.mat:[[I
iload 3
iload 4
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_0
iaload
imul
iadd
aaload
areturn
end local 4 end local 3 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
0 6 1 x I
0 6 2 y I
2 5 3 xt I
3 5 4 yt I
MethodParameters:
Name Flags
x
y
private int restrict(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
iload 1
bipush 127
if_icmple 2
bipush 127
ireturn
2: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
0 3 1 value I
MethodParameters:
Name Flags
value
private void buildindex();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=20, args_size=1
start local 0 0: aload 0
iconst_2
sipush 129
multianewarray [[B 2
putfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
1: aload 0
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
arraylength
newarray 10
putfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
2: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 19
StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
3: aload 4
iload 2
aaload
astore 1
start local 1 4: aload 1
invokevirtual com.sun.media.sound.ModelPerformer.getKeyFrom:()I
istore 5
start local 5 5: aload 1
invokevirtual com.sun.media.sound.ModelPerformer.getKeyTo:()I
istore 6
start local 6 6: aload 1
invokevirtual com.sun.media.sound.ModelPerformer.getVelFrom:()I
istore 7
start local 7 7: aload 1
invokevirtual com.sun.media.sound.ModelPerformer.getVelTo:()I
istore 8
start local 8 8: iload 5
iload 6
if_icmple 9
goto 18
9: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] int int int int
StackMap stack:
iload 7
iload 8
if_icmple 10
goto 18
10: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 5
11: aload 0
iload 6
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 6
12: aload 0
iload 7
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 7
13: aload 0
iload 8
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 8
14: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_0
aaload
iload 5
iconst_1
bastore
15: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_0
aaload
iload 6
iconst_1
iadd
iconst_1
bastore
16: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_1
aaload
iload 7
iconst_1
bastore
17: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_1
aaload
iload 8
iconst_1
iadd
iconst_1
bastore
end local 8 end local 7 end local 6 end local 5 end local 1 18: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
19: iload 2
iload 3
if_icmplt 3
20: iconst_0
istore 1
start local 1 21: goto 44
22: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int
StackMap stack:
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iload 1
aaload
astore 2
start local 2 23: aload 2
arraylength
istore 3
start local 3 24: iload 3
iconst_1
isub
istore 4
start local 4 25: goto 31
26: StackMap locals: byte[] int int
StackMap stack:
aload 2
iload 4
baload
iconst_1
if_icmpne 29
27: aload 2
iload 4
iconst_m1
bastore
28: goto 32
29: StackMap locals:
StackMap stack:
aload 2
iload 4
iconst_m1
bastore
30: iinc 4 -1
StackMap locals:
StackMap stack:
31: iload 4
ifge 26
end local 4 32: StackMap locals:
StackMap stack:
iconst_m1
istore 4
start local 4 33: iconst_0
istore 5
start local 5 34: goto 41
35: StackMap locals: int int
StackMap stack:
aload 2
iload 5
baload
ifeq 39
36: iinc 4 1
37: aload 2
iload 5
baload
iconst_m1
if_icmpne 39
38: goto 42
39: StackMap locals:
StackMap stack:
aload 2
iload 5
iload 4
i2b
bastore
40: iinc 5 1
StackMap locals:
StackMap stack:
41: iload 5
iload 3
if_icmplt 35
end local 5 42: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iload 1
iload 4
iastore
end local 4 end local 3 end local 2 43: iinc 1 1
StackMap locals:
StackMap stack:
44: iload 1
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
arraylength
if_icmplt 22
end local 1 45: aload 0
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_0
iaload
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_1
iaload
imul
anewarray int[]
putfield com.sun.media.sound.ModelStandardIndexedDirector.mat:[[I
46: iconst_0
istore 1
start local 1 47: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 91
StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
48: aload 5
iload 3
aaload
astore 2
start local 2 49: aload 2
invokevirtual com.sun.media.sound.ModelPerformer.getKeyFrom:()I
istore 6
start local 6 50: aload 2
invokevirtual com.sun.media.sound.ModelPerformer.getKeyTo:()I
istore 7
start local 7 51: aload 2
invokevirtual com.sun.media.sound.ModelPerformer.getVelFrom:()I
istore 8
start local 8 52: aload 2
invokevirtual com.sun.media.sound.ModelPerformer.getVelTo:()I
istore 9
start local 9 53: iload 6
iload 7
if_icmple 54
goto 90
54: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] int int int int
StackMap stack:
iload 8
iload 9
if_icmple 55
goto 90
55: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 6
56: aload 0
iload 7
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 7
57: aload 0
iload 8
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 8
58: aload 0
iload 9
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.restrict:(I)I
istore 9
59: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_0
aaload
iload 6
baload
istore 10
start local 10 60: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_0
aaload
iload 7
iconst_1
iadd
baload
istore 11
start local 11 61: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_1
aaload
iload 8
baload
istore 12
start local 12 62: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.trantables:[[B
iconst_1
aaload
iload 9
iconst_1
iadd
baload
istore 13
start local 13 63: iload 11
iconst_m1
if_icmpne 65
64: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_0
iaload
istore 11
65: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] int int int int int int int int
StackMap stack:
iload 13
iconst_m1
if_icmpne 67
66: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_1
iaload
istore 13
67: StackMap locals:
StackMap stack:
iload 12
istore 14
start local 14 68: goto 88
69: StackMap locals: int
StackMap stack:
iload 10
iload 14
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.counters:[I
iconst_0
iaload
imul
iadd
istore 15
start local 15 70: iload 10
istore 16
start local 16 71: goto 86
72: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.mat:[[I
iload 15
aaload
astore 17
start local 17 73: aload 17
ifnonnull 76
74: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.mat:[[I
iload 15
iconst_1
newarray 10
dup
iconst_0
iload 1
iastore
aastore
75: goto 84
76: StackMap locals: int[]
StackMap stack:
aload 17
arraylength
iconst_1
iadd
newarray 10
astore 18
start local 18 77: aload 18
aload 18
arraylength
iconst_1
isub
iload 1
iastore
78: iconst_0
istore 19
start local 19 79: goto 82
80: StackMap locals: int[] int
StackMap stack:
aload 18
iload 19
aload 17
iload 19
iaload
iastore
81: iinc 19 1
StackMap locals:
StackMap stack:
82: iload 19
aload 17
arraylength
if_icmplt 80
end local 19 83: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.mat:[[I
iload 15
aload 18
aastore
end local 18 84: StackMap locals:
StackMap stack:
iinc 15 1
end local 17 85: iinc 16 1
StackMap locals:
StackMap stack:
86: iload 16
iload 11
if_icmplt 72
end local 16 end local 15 87: iinc 14 1
StackMap locals:
StackMap stack:
88: iload 14
iload 13
if_icmplt 69
end local 14 89: iinc 1 1
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 2 90: StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
91: iload 3
iload 4
if_icmplt 48
92: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 93 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
4 18 1 performer Lcom/sun/media/sound/ModelPerformer;
5 18 5 keyFrom I
6 18 6 keyTo I
7 18 7 velFrom I
8 18 8 velTo I
21 45 1 d I
23 43 2 trantable [B
24 43 3 transize I
25 32 4 i I
33 43 4 counter I
34 42 5 i I
47 93 1 ix I
49 90 2 performer Lcom/sun/media/sound/ModelPerformer;
50 90 6 keyFrom I
51 90 7 keyTo I
52 90 8 velFrom I
53 90 9 velTo I
60 90 10 x_from I
61 90 11 x_to I
62 90 12 y_from I
63 90 13 y_to I
68 89 14 y I
70 87 15 i I
71 87 16 x I
73 85 17 mprev [I
77 84 18 mnew [I
79 83 19 k I
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
public void noteOff(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.noteOffUsed:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.lookupIndex:(II)[I
astore 3
start local 3 3: aload 3
ifnonnull 4
return
4: StackMap locals: int[]
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int int int[] top int int int[]
StackMap stack:
5: aload 7
iload 5
iaload
istore 4
start local 4 6: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
iload 4
aaload
astore 8
start local 8 7: aload 8
invokevirtual com.sun.media.sound.ModelPerformer.isReleaseTriggered:()Z
ifeq 9
8: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.player:Lcom/sun/media/sound/ModelDirectedPlayer;
iload 4
aconst_null
invokeinterface com.sun.media.sound.ModelDirectedPlayer.play:(I[Lcom/sun/media/sound/ModelConnectionBlock;)V
end local 8 end local 4 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 5
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
0 12 1 noteNumber I
0 12 2 velocity I
3 12 3 plist [I
6 9 4 i I
7 9 8 p Lcom/sun/media/sound/ModelPerformer;
MethodParameters:
Name Flags
noteNumber
velocity
public void noteOn(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.noteOnUsed:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual com.sun.media.sound.ModelStandardIndexedDirector.lookupIndex:(II)[I
astore 3
start local 3 3: aload 3
ifnonnull 4
return
4: StackMap locals: int[]
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: com.sun.media.sound.ModelStandardIndexedDirector int int int[] top int int int[]
StackMap stack:
5: aload 7
iload 5
iaload
istore 4
start local 4 6: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.performers:[Lcom/sun/media/sound/ModelPerformer;
iload 4
aaload
astore 8
start local 8 7: aload 8
invokevirtual com.sun.media.sound.ModelPerformer.isReleaseTriggered:()Z
ifne 9
8: aload 0
getfield com.sun.media.sound.ModelStandardIndexedDirector.player:Lcom/sun/media/sound/ModelDirectedPlayer;
iload 4
aconst_null
invokeinterface com.sun.media.sound.ModelDirectedPlayer.play:(I[Lcom/sun/media/sound/ModelConnectionBlock;)V
end local 8 end local 4 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 5
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/ModelStandardIndexedDirector;
0 12 1 noteNumber I
0 12 2 velocity I
3 12 3 plist [I
6 9 4 i I
7 9 8 p Lcom/sun/media/sound/ModelPerformer;
MethodParameters:
Name Flags
noteNumber
velocity
}
SourceFile: "ModelStandardIndexedDirector.java"