public abstract class javax.sound.midi.MidiMessage implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.sound.midi.MidiMessage
super_class: java.lang.Object
{
protected byte[] data;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected int length;
descriptor: I
flags: (0x0004) ACC_PROTECTED
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.sound.midi.MidiMessage.length:I
2: aload 0
aload 1
putfield javax.sound.midi.MidiMessage.data:[B
3: aload 1
ifnull 5
4: aload 0
aload 1
arraylength
putfield javax.sound.midi.MidiMessage.length:I
5: StackMap locals: javax.sound.midi.MidiMessage byte[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sound/midi/MidiMessage;
0 6 1 data [B
MethodParameters:
Name Flags
data
protected void setMessage(byte[], int);
descriptor: ([BI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iflt 1
iload 2
ifle 4
iload 2
aload 1
arraylength
if_icmple 4
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
2: new java.lang.StringBuilder
dup
ldc "length out of bounds: "
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;
3: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield javax.sound.midi.MidiMessage.length:I
5: aload 0
getfield javax.sound.midi.MidiMessage.data:[B
ifnull 6
aload 0
getfield javax.sound.midi.MidiMessage.data:[B
arraylength
aload 0
getfield javax.sound.midi.MidiMessage.length:I
if_icmpge 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.sound.midi.MidiMessage.length:I
newarray 8
putfield javax.sound.midi.MidiMessage.data:[B
7: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 0
getfield javax.sound.midi.MidiMessage.data:[B
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/sound/midi/MidiMessage;
0 9 1 data [B
0 9 2 length I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
data
length
public byte[] getMessage();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MidiMessage.length:I
newarray 8
astore 1
start local 1 1: aload 0
getfield javax.sound.midi.MidiMessage.data:[B
iconst_0
aload 1
iconst_0
aload 0
getfield javax.sound.midi.MidiMessage.length:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/MidiMessage;
1 3 1 returnedArray [B
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MidiMessage.length:I
ifle 2
1: aload 0
getfield javax.sound.midi.MidiMessage.data:[B
iconst_0
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/MidiMessage;
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MidiMessage.length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/MidiMessage;
public abstract java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "MidiMessage.java"