public class javax.sound.midi.MetaMessage extends javax.sound.midi.MidiMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sound.midi.MetaMessage
super_class: javax.sound.midi.MidiMessage
{
public static final int META;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 255
private int dataLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final long mask;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 127
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
newarray 8
dup
iconst_0
iconst_m1
bastore
invokespecial javax.sound.midi.MetaMessage.<init>:([B)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sound/midi/MetaMessage;
public void <init>(int, byte[], int);
descriptor: (I[BI)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
iconst_0
putfield javax.sound.midi.MetaMessage.dataLength:I
2: aload 0
iload 1
aload 2
iload 3
invokevirtual javax.sound.midi.MetaMessage.setMessage:(I[BI)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sound/midi/MetaMessage;
0 4 1 type I
0 4 2 data [B
0 4 3 length I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
type
data
length
protected void <init>(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.sound.midi.MidiMessage.<init>:([B)V
1: aload 0
iconst_0
putfield javax.sound.midi.MetaMessage.dataLength:I
2: aload 1
arraylength
iconst_3
if_icmplt 8
3: aload 0
aload 1
arraylength
iconst_3
isub
putfield javax.sound.midi.MetaMessage.dataLength:I
4: iconst_2
istore 2
start local 2 5: goto 7
6: StackMap locals: javax.sound.midi.MetaMessage byte[] int
StackMap stack:
aload 0
dup
getfield javax.sound.midi.MetaMessage.dataLength:I
iconst_1
isub
putfield javax.sound.midi.MetaMessage.dataLength:I
iinc 2 1
7: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmpge 8
aload 1
iload 2
baload
sipush 128
iand
ifne 6
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/sound/midi/MetaMessage;
0 9 1 data [B
5 8 2 pos I
MethodParameters:
Name Flags
data
public void setMessage(int, byte[], int);
descriptor: (I[BI)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: iload 1
sipush 128
if_icmpge 1
iload 1
ifge 2
1: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "Invalid meta event with type "
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
2: StackMap locals:
StackMap stack:
iload 3
ifle 3
iload 3
aload 2
arraylength
if_icmpgt 4
StackMap locals:
StackMap stack:
3: iload 3
ifge 5
4: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "length out of bounds: "
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
5: StackMap locals:
StackMap stack:
aload 0
iconst_2
aload 0
iload 3
i2l
invokevirtual javax.sound.midi.MetaMessage.getVarIntLength:(J)I
iadd
iload 3
iadd
putfield javax.sound.midi.MetaMessage.length:I
6: aload 0
iload 3
putfield javax.sound.midi.MetaMessage.dataLength:I
7: aload 0
aload 0
getfield javax.sound.midi.MetaMessage.length:I
newarray 8
putfield javax.sound.midi.MetaMessage.data:[B
8: aload 0
getfield javax.sound.midi.MetaMessage.data:[B
iconst_0
iconst_m1
bastore
9: aload 0
getfield javax.sound.midi.MetaMessage.data:[B
iconst_1
iload 1
i2b
bastore
10: aload 0
aload 0
getfield javax.sound.midi.MetaMessage.data:[B
iconst_2
iload 3
i2l
invokevirtual javax.sound.midi.MetaMessage.writeVarInt:([BIJ)V
11: iload 3
ifle 13
12: aload 2
iconst_0
aload 0
getfield javax.sound.midi.MetaMessage.data:[B
aload 0
getfield javax.sound.midi.MetaMessage.length:I
aload 0
getfield javax.sound.midi.MetaMessage.dataLength:I
isub
aload 0
getfield javax.sound.midi.MetaMessage.dataLength:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/sound/midi/MetaMessage;
0 14 1 type I
0 14 2 data [B
0 14 3 length I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
type
data
length
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MetaMessage.length:I
iconst_2
if_icmplt 2
1: aload 0
getfield javax.sound.midi.MetaMessage.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/MetaMessage;
public byte[] getData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MetaMessage.dataLength:I
newarray 8
astore 1
start local 1 1: aload 0
getfield javax.sound.midi.MetaMessage.data:[B
aload 0
getfield javax.sound.midi.MetaMessage.length:I
aload 0
getfield javax.sound.midi.MetaMessage.dataLength:I
isub
aload 1
iconst_0
aload 0
getfield javax.sound.midi.MetaMessage.dataLength: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/MetaMessage;
1 3 1 returnedArray [B
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.MetaMessage.length:I
newarray 8
astore 1
start local 1 1: aload 0
getfield javax.sound.midi.MetaMessage.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.MetaMessage
dup
aload 1
invokespecial javax.sound.midi.MetaMessage.<init>:([B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/MetaMessage;
1 3 1 newData [B
private int getVarIntLength(long);
descriptor: (J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: StackMap locals: int
StackMap stack:
lload 1
bipush 7
lshr
lstore 1
2: iinc 3 1
3: lload 1
lconst_0
4: lcmp
ifgt 1
5: iload 3
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sound/midi/MetaMessage;
0 6 1 value J
1 6 3 length I
MethodParameters:
Name Flags
value
private void writeVarInt(byte[], int, long);
descriptor: ([BIJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: bipush 63
istore 5
start local 5 1: goto 3
StackMap locals: int
StackMap stack:
2: iinc 5 -7
StackMap locals:
StackMap stack:
3: iload 5
ifle 7
lload 3
ldc 127
iload 5
lshl
land
lconst_0
lcmp
ifeq 2
4: goto 7
5: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
lload 3
ldc 127
iload 5
lshl
land
iload 5
lshr
ldc 128
lor
l2i
i2b
bastore
6: iinc 5 -7
7: StackMap locals:
StackMap stack:
iload 5
ifgt 5
8: aload 1
iload 2
lload 3
ldc 127
land
l2i
i2b
bastore
9: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/sound/midi/MetaMessage;
0 10 1 data [B
0 10 2 off I
0 10 3 value J
1 10 5 shift I
MethodParameters:
Name Flags
data
off
value
}
SourceFile: "MetaMessage.java"