final class com.sun.media.sound.AbstractMidiDevice$TransmitterList
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.AbstractMidiDevice$TransmitterList
super_class: java.lang.Object
{
private final java.util.ArrayList<javax.sound.midi.Transmitter> transmitters;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Ljavax/sound/midi/Transmitter;>;
private com.sun.media.sound.MidiOutDevice$MidiOutReceiver midiOutReceiver;
descriptor: Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
flags: (0x0002) ACC_PRIVATE
private int optimizedReceiverCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final com.sun.media.sound.AbstractMidiDevice this$0;
descriptor: Lcom/sun/media/sound/AbstractMidiDevice;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.media.sound.AbstractMidiDevice);
descriptor: (Lcom/sun/media/sound/AbstractMidiDevice;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.this$0:Lcom/sun/media/sound/AbstractMidiDevice;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
2: aload 0
iconst_0
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.optimizedReceiverCount:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
MethodParameters:
Name Flags
this$0 final
private void add(javax.sound.midi.Transmitter);
descriptor: (Ljavax/sound/midi/Transmitter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList javax.sound.midi.Transmitter java.util.ArrayList
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.AbstractMidiDevice$BasicTransmitter
ifeq 8
7: aload 1
checkcast com.sun.media.sound.AbstractMidiDevice$BasicTransmitter
aload 0
invokevirtual com.sun.media.sound.AbstractMidiDevice$BasicTransmitter.setTransmitterList:(Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 9 1 t Ljavax/sound/midi/Transmitter;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
t
private void remove(javax.sound.midi.Transmitter);
descriptor: (Ljavax/sound/midi/Transmitter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
istore 3
start local 3 2: iload 3
iflt 4
3: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
end local 3 4: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 9 1 t Ljavax/sound/midi/Transmitter;
2 4 3 index I
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
t
private void receiverChanged(com.sun.media.sound.AbstractMidiDevice$BasicTransmitter, javax.sound.midi.Receiver, javax.sound.midi.Receiver);
descriptor: (Lcom/sun/media/sound/AbstractMidiDevice$BasicTransmitter;Ljavax/sound/midi/Receiver;Ljavax/sound/midi/Receiver;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 4
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
aload 2
if_acmpne 3
2: aload 0
aconst_null
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 3
ifnull 7
4: aload 3
instanceof com.sun.media.sound.MidiOutDevice$MidiOutReceiver
ifeq 7
5: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
ifnonnull 7
6: aload 0
aload 3
checkcast com.sun.media.sound.MidiOutDevice$MidiOutReceiver
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
7: StackMap locals:
StackMap stack:
aload 0
8: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
ifnull 9
iconst_1
goto 10
StackMap locals:
StackMap stack: com.sun.media.sound.AbstractMidiDevice$TransmitterList
9: iconst_0
10: StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList com.sun.media.sound.AbstractMidiDevice$BasicTransmitter javax.sound.midi.Receiver javax.sound.midi.Receiver java.util.ArrayList
StackMap stack: com.sun.media.sound.AbstractMidiDevice$TransmitterList int
putfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.optimizedReceiverCount:I
11: aload 4
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 4
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 16 1 t Lcom/sun/media/sound/AbstractMidiDevice$BasicTransmitter;
0 16 2 oldR Ljavax/sound/midi/Receiver;
0 16 3 newR Ljavax/sound/midi/Receiver;
Exception table:
from to target type
1 12 13 any
13 14 13 any
MethodParameters:
Name Flags
t
oldR
newR
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 1
monitorenter
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Transmitter
invokeinterface javax.sound.midi.Transmitter.close:()V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 3
end local 2 6: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
7: aload 1
monitorexit
8: goto 11
StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList java.util.ArrayList
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
2 6 2 i I
Exception table:
from to target type
1 8 9 any
9 10 9 any
void sendMessage(int, long);
descriptor: (IJ)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 4
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 2: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.optimizedReceiverCount:I
iload 5
if_icmpne 6
3: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
ifnull 19
4: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
iload 1
lload 2
invokevirtual com.sun.media.sound.MidiOutDevice$MidiOutReceiver.sendPackedMidiMessage:(IJ)V
5: goto 19
6: StackMap locals: java.util.ArrayList int
StackMap stack:
iconst_0
istore 6
start local 6 7: goto 18
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
iload 6
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Transmitter
invokeinterface javax.sound.midi.Transmitter.getReceiver:()Ljavax/sound/midi/Receiver;
astore 7
start local 7 9: aload 7
ifnull 17
10: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.optimizedReceiverCount:I
ifle 16
11: aload 7
instanceof com.sun.media.sound.MidiOutDevice$MidiOutReceiver
ifeq 14
12: aload 7
checkcast com.sun.media.sound.MidiOutDevice$MidiOutReceiver
iload 1
lload 2
invokevirtual com.sun.media.sound.MidiOutDevice$MidiOutReceiver.sendPackedMidiMessage:(IJ)V
13: goto 17
14: StackMap locals: javax.sound.midi.Receiver
StackMap stack:
aload 7
new com.sun.media.sound.FastShortMessage
dup
iload 1
invokespecial com.sun.media.sound.FastShortMessage.<init>:(I)V
lload 2
invokeinterface javax.sound.midi.Receiver.send:(Ljavax/sound/midi/MidiMessage;J)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 7
new com.sun.media.sound.FastShortMessage
dup
iload 1
invokespecial com.sun.media.sound.FastShortMessage.<init>:(I)V
lload 2
invokeinterface javax.sound.midi.Receiver.send:(Ljavax/sound/midi/MidiMessage;J)V
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 5
if_icmplt 8
end local 6 end local 5 19: StackMap locals:
StackMap stack:
aload 4
monitorexit
20: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 4
monitorexit
22: athrow
23: StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList int long
StackMap stack: javax.sound.midi.InvalidMidiDataException
pop
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 25 1 packedMessage I
0 25 2 timeStamp J
2 19 5 size I
7 19 6 i I
9 17 7 receiver Ljavax/sound/midi/Receiver;
Exception table:
from to target type
1 20 21 any
21 22 21 any
0 23 23 Class javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
packedMessage
timeStamp
void sendMessage(byte[], long);
descriptor: ([BJ)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 4
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: java.util.ArrayList int int
StackMap stack:
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
iload 6
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Transmitter
invokeinterface javax.sound.midi.Transmitter.getReceiver:()Ljavax/sound/midi/Receiver;
astore 7
start local 7 5: aload 7
ifnull 7
6: aload 7
new com.sun.media.sound.FastSysexMessage
dup
aload 1
invokespecial com.sun.media.sound.FastSysexMessage.<init>:([B)V
lload 2
invokeinterface javax.sound.midi.Receiver.send:(Ljavax/sound/midi/MidiMessage;J)V
end local 7 7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 5
if_icmplt 4
end local 6 end local 5 9: aload 4
monitorexit
10: goto 15
StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList byte[] long java.util.ArrayList
StackMap stack: java.lang.Throwable
11: aload 4
monitorexit
12: athrow
13: StackMap locals: com.sun.media.sound.AbstractMidiDevice$TransmitterList byte[] long
StackMap stack: javax.sound.midi.InvalidMidiDataException
pop
14: return
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 16 1 data [B
0 16 2 timeStamp J
2 9 5 size I
3 9 6 i I
5 7 7 receiver Ljavax/sound/midi/Receiver;
Exception table:
from to target type
1 10 11 any
11 12 11 any
0 13 13 Class javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
data
timeStamp
void sendMessage(javax.sound.midi.MidiMessage, long);
descriptor: (Ljavax/sound/midi/MidiMessage;J)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.sun.media.sound.FastShortMessage
ifeq 3
1: aload 0
aload 1
checkcast com.sun.media.sound.FastShortMessage
invokevirtual com.sun.media.sound.FastShortMessage.getPackedMsg:()I
lload 2
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
dup
astore 4
monitorenter
4: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
start local 5 5: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.optimizedReceiverCount:I
iload 5
if_icmpne 9
6: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
ifnull 16
7: aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.midiOutReceiver:Lcom/sun/media/sound/MidiOutDevice$MidiOutReceiver;
aload 1
lload 2
invokevirtual com.sun.media.sound.MidiOutDevice$MidiOutReceiver.send:(Ljavax/sound/midi/MidiMessage;J)V
8: goto 16
9: StackMap locals: java.util.ArrayList int
StackMap stack:
iconst_0
istore 6
start local 6 10: goto 15
11: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.AbstractMidiDevice$TransmitterList.transmitters:Ljava/util/ArrayList;
iload 6
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Transmitter
invokeinterface javax.sound.midi.Transmitter.getReceiver:()Ljavax/sound/midi/Receiver;
astore 7
start local 7 12: aload 7
ifnull 14
13: aload 7
aload 1
lload 2
invokeinterface javax.sound.midi.Receiver.send:(Ljavax/sound/midi/MidiMessage;J)V
end local 7 14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 5
if_icmplt 11
end local 6 end local 5 16: StackMap locals:
StackMap stack:
aload 4
monitorexit
17: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
18: aload 4
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
0 21 1 message Ljavax/sound/midi/MidiMessage;
0 21 2 timeStamp J
5 16 5 size I
10 16 6 i I
12 14 7 receiver Ljavax/sound/midi/Receiver;
Exception table:
from to target type
4 17 18 any
18 19 18 any
MethodParameters:
Name Flags
message
timeStamp
}
SourceFile: "AbstractMidiDevice.java"
NestHost: com.sun.media.sound.AbstractMidiDevice
InnerClasses:
BasicTransmitter = com.sun.media.sound.AbstractMidiDevice$BasicTransmitter of com.sun.media.sound.AbstractMidiDevice
final TransmitterList = com.sun.media.sound.AbstractMidiDevice$TransmitterList of com.sun.media.sound.AbstractMidiDevice
final MidiOutReceiver = com.sun.media.sound.MidiOutDevice$MidiOutReceiver of com.sun.media.sound.MidiOutDevice