public class javax.sound.midi.ShortMessage extends javax.sound.midi.MidiMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sound.midi.ShortMessage
super_class: javax.sound.midi.MidiMessage
{
public static final int MIDI_TIME_CODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 241
public static final int SONG_POSITION_POINTER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 242
public static final int SONG_SELECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 243
public static final int TUNE_REQUEST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 246
public static final int END_OF_EXCLUSIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 247
public static final int TIMING_CLOCK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 248
public static final int START;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 250
public static final int CONTINUE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 251
public static final int STOP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 252
public static final int ACTIVE_SENSING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 254
public static final int SYSTEM_RESET;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 255
public static final int NOTE_OFF;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 128
public static final int NOTE_ON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 144
public static final int POLY_PRESSURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 160
public static final int CONTROL_CHANGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 176
public static final int PROGRAM_CHANGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 192
public static final int CHANNEL_PRESSURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 208
public static final int PITCH_BEND;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 224
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
newarray 8
invokespecial javax.sound.midi.ShortMessage.<init>:([B)V
1: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_0
bipush -112
bastore
2: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_1
bipush 64
bastore
3: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_2
bipush 127
bastore
4: aload 0
iconst_3
putfield javax.sound.midi.ShortMessage.length:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sound/midi/ShortMessage;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
invokespecial javax.sound.midi.MidiMessage.<init>:([B)V
1: aload 0
iload 1
invokevirtual javax.sound.midi.ShortMessage.setMessage:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/ShortMessage;
0 3 1 status I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
status
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
invokespecial javax.sound.midi.MidiMessage.<init>:([B)V
1: aload 0
iload 1
iload 2
iload 3
invokevirtual javax.sound.midi.ShortMessage.setMessage:(III)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/ShortMessage;
0 3 1 status I
0 3 2 data1 I
0 3 3 data2 I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
status
data1
data2
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aconst_null
invokespecial javax.sound.midi.MidiMessage.<init>:([B)V
1: aload 0
iload 1
iload 2
iload 3
iload 4
invokevirtual javax.sound.midi.ShortMessage.setMessage:(IIII)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/ShortMessage;
0 3 1 command I
0 3 2 channel I
0 3 3 data1 I
0 3 4 data2 I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
command
channel
data1
data2
protected void <init>(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.sound.midi.MidiMessage.<init>:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sound/midi/ShortMessage;
0 2 1 data [B
MethodParameters:
Name Flags
data
public void setMessage(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.sound.midi.ShortMessage.getDataLength:(I)I
istore 2
start local 2 1: iload 2
ifeq 3
2: new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "Status byte; "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " requires "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " data bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_0
iconst_0
invokevirtual javax.sound.midi.ShortMessage.setMessage:(III)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/sound/midi/ShortMessage;
0 5 1 status I
1 5 2 dataLength I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
status
public void setMessage(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokevirtual javax.sound.midi.ShortMessage.getDataLength:(I)I
istore 4
start local 4 1: iload 4
ifle 7
2: iload 2
iflt 3
iload 2
bipush 127
if_icmple 4
3: StackMap locals: int
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "data1 out of range: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmple 7
5: iload 3
iflt 6
iload 3
bipush 127
if_icmple 7
6: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "data2 out of range: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_1
iadd
putfield javax.sound.midi.ShortMessage.length:I
8: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
ifnull 9
aload 0
getfield javax.sound.midi.ShortMessage.data:[B
arraylength
aload 0
getfield javax.sound.midi.ShortMessage.length:I
if_icmpge 10
9: StackMap locals:
StackMap stack:
aload 0
iconst_3
newarray 8
putfield javax.sound.midi.ShortMessage.data:[B
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_0
iload 1
sipush 255
iand
i2b
bastore
11: aload 0
getfield javax.sound.midi.ShortMessage.length:I
iconst_1
if_icmple 15
12: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_1
iload 2
sipush 255
iand
i2b
bastore
13: aload 0
getfield javax.sound.midi.ShortMessage.length:I
iconst_2
if_icmple 15
14: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_2
iload 3
sipush 255
iand
i2b
bastore
15: 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 16 0 this Ljavax/sound/midi/ShortMessage;
0 16 1 status I
0 16 2 data1 I
0 16 3 data2 I
1 16 4 dataLength I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
status
data1
data2
public void setMessage(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
sipush 240
if_icmpge 1
iload 1
sipush 128
if_icmpge 2
1: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "command out of range: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
bipush -16
iand
ifeq 4
3: new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "channel out of range: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
sipush 240
iand
iload 2
bipush 15
iand
ior
iload 3
iload 4
invokevirtual javax.sound.midi.ShortMessage.setMessage:(III)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sound/midi/ShortMessage;
0 6 1 command I
0 6 2 channel I
0 6 3 data1 I
0 6 4 data2 I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
command
channel
data1
data2
public int getChannel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.sound.midi.ShortMessage.getStatus:()I
bipush 15
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/ShortMessage;
public int getCommand();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.sound.midi.ShortMessage.getStatus:()I
sipush 240
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/ShortMessage;
public int getData1();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.ShortMessage.length:I
iconst_1
if_icmple 2
1: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_1
baload
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/ShortMessage;
public int getData2();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.ShortMessage.length:I
iconst_2
if_icmple 2
1: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_2
baload
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/ShortMessage;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.ShortMessage.length:I
newarray 8
astore 1
start local 1 1: aload 0
getfield javax.sound.midi.ShortMessage.data:[B
iconst_0
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: new javax.sound.midi.ShortMessage
dup
aload 1
invokespecial javax.sound.midi.ShortMessage.<init>:([B)V
astore 2
start local 2 3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sound/midi/ShortMessage;
1 4 1 newData [B
3 4 2 msg Ljavax/sound/midi/ShortMessage;
protected final int getDataLength(int);
descriptor: (I)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 241 - 255
241: 2
242: 3
243: 2
244: 4
245: 4
246: 1
247: 1
248: 1
249: 1
250: 1
251: 1
252: 1
253: 1
254: 1
255: 1
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
iload 1
sipush 240
iand
lookupswitch { // 7
128: 5
144: 5
160: 5
176: 5
192: 6
208: 6
224: 5
default: 7
}
5: StackMap locals:
StackMap stack:
iconst_2
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "Invalid status byte: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/sound/midi/ShortMessage;
0 8 1 status I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
status
}
SourceFile: "ShortMessage.java"