public final class com.sun.media.sound.ModelInstrumentComparator implements java.util.Comparator<javax.sound.midi.Instrument>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.ModelInstrumentComparator
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/ModelInstrumentComparator;
public int compare(javax.sound.midi.Instrument, javax.sound.midi.Instrument);
descriptor: (Ljavax/sound/midi/Instrument;Ljavax/sound/midi/Instrument;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
astore 3
start local 3 1: aload 2
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
astore 4
start local 4 2: aload 3
invokevirtual javax.sound.midi.Patch.getBank:()I
sipush 128
imul
aload 3
invokevirtual javax.sound.midi.Patch.getProgram:()I
iadd
istore 5
start local 5 3: aload 4
invokevirtual javax.sound.midi.Patch.getBank:()I
sipush 128
imul
aload 4
invokevirtual javax.sound.midi.Patch.getProgram:()I
iadd
istore 6
start local 6 4: aload 3
instanceof com.sun.media.sound.ModelPatch
ifeq 8
5: iload 5
aload 3
checkcast com.sun.media.sound.ModelPatch
invokevirtual com.sun.media.sound.ModelPatch.isPercussion:()Z
ifeq 6
ldc 2097152
goto 7
StackMap locals: com.sun.media.sound.ModelInstrumentComparator javax.sound.midi.Instrument javax.sound.midi.Instrument javax.sound.midi.Patch javax.sound.midi.Patch int int
StackMap stack: int
6: iconst_0
StackMap locals: com.sun.media.sound.ModelInstrumentComparator javax.sound.midi.Instrument javax.sound.midi.Instrument javax.sound.midi.Patch javax.sound.midi.Patch int int
StackMap stack: int int
7: iadd
istore 5
8: StackMap locals:
StackMap stack:
aload 4
instanceof com.sun.media.sound.ModelPatch
ifeq 12
9: iload 6
aload 4
checkcast com.sun.media.sound.ModelPatch
invokevirtual com.sun.media.sound.ModelPatch.isPercussion:()Z
ifeq 10
ldc 2097152
goto 11
StackMap locals:
StackMap stack: int
10: iconst_0
StackMap locals: com.sun.media.sound.ModelInstrumentComparator javax.sound.midi.Instrument javax.sound.midi.Instrument javax.sound.midi.Patch javax.sound.midi.Patch int int
StackMap stack: int int
11: iadd
istore 6
12: StackMap locals:
StackMap stack:
iload 5
iload 6
isub
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/sound/ModelInstrumentComparator;
0 13 1 arg0 Ljavax/sound/midi/Instrument;
0 13 2 arg1 Ljavax/sound/midi/Instrument;
1 13 3 p0 Ljavax/sound/midi/Patch;
2 13 4 p1 Ljavax/sound/midi/Patch;
3 13 5 a I
4 13 6 b I
MethodParameters:
Name Flags
arg0
arg1
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast javax.sound.midi.Instrument
aload 2
checkcast javax.sound.midi.Instrument
invokevirtual com.sun.media.sound.ModelInstrumentComparator.compare:(Ljavax/sound/midi/Instrument;Ljavax/sound/midi/Instrument;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljavax/sound/midi/Instrument;>;
SourceFile: "ModelInstrumentComparator.java"