public final class com.sun.media.sound.MidiInDeviceProvider extends com.sun.media.sound.AbstractMidiDeviceProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.MidiInDeviceProvider
super_class: com.sun.media.sound.AbstractMidiDeviceProvider
{
private static com.sun.media.sound.AbstractMidiDeviceProvider$Info[] infos;
descriptor: [Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.sound.midi.MidiDevice[] devices;
descriptor: [Ljavax/sound/midi/MidiDevice;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final boolean enabled;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.media.sound.MidiInDeviceProvider.infos:[Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
1: aconst_null
putstatic com.sun.media.sound.MidiInDeviceProvider.devices:[Ljavax/sound/midi/MidiDevice;
2: invokestatic com.sun.media.sound.Platform.initialize:()V
3: invokestatic com.sun.media.sound.Platform.isMidiIOEnabled:()Z
putstatic com.sun.media.sound.MidiInDeviceProvider.enabled:Z
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.media.sound.AbstractMidiDeviceProvider.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
com.sun.media.sound.AbstractMidiDeviceProvider$Info createInfo(int);
descriptor: (I)Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.media.sound.MidiInDeviceProvider.enabled:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new com.sun.media.sound.MidiInDeviceProvider$MidiInDeviceInfo
dup
iload 1
ldc Lcom/sun/media/sound/MidiInDeviceProvider;
invokespecial com.sun.media.sound.MidiInDeviceProvider$MidiInDeviceInfo.<init>:(ILjava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
0 3 1 index I
MethodParameters:
Name Flags
index
javax.sound.midi.MidiDevice createDevice(com.sun.media.sound.AbstractMidiDeviceProvider$Info);
descriptor: (Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;)Ljavax/sound/midi/MidiDevice;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.media.sound.MidiInDeviceProvider.enabled:Z
ifeq 2
aload 1
instanceof com.sun.media.sound.MidiInDeviceProvider$MidiInDeviceInfo
ifeq 2
1: new com.sun.media.sound.MidiInDevice
dup
aload 1
invokespecial com.sun.media.sound.MidiInDevice.<init>:(Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
0 3 1 info Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
MethodParameters:
Name Flags
info
int getNumDevices();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: getstatic com.sun.media.sound.MidiInDeviceProvider.enabled:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.media.sound.MidiInDeviceProvider.nGetNumDevices:()I
istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
3 4 1 numDevices I
javax.sound.midi.MidiDevice[] getDeviceCache();
descriptor: ()[Ljavax/sound/midi/MidiDevice;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.sound.MidiInDeviceProvider.devices:[Ljavax/sound/midi/MidiDevice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
void setDeviceCache(javax.sound.midi.MidiDevice[]);
descriptor: ([Ljavax/sound/midi/MidiDevice;)V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
putstatic com.sun.media.sound.MidiInDeviceProvider.devices:[Ljavax/sound/midi/MidiDevice;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
0 1 1 devices [Ljavax/sound/midi/MidiDevice;
MethodParameters:
Name Flags
devices
com.sun.media.sound.AbstractMidiDeviceProvider$Info[] getInfoCache();
descriptor: ()[Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.sound.MidiInDeviceProvider.infos:[Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
void setInfoCache(com.sun.media.sound.AbstractMidiDeviceProvider$Info[]);
descriptor: ([Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;)V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
putstatic com.sun.media.sound.MidiInDeviceProvider.infos:[Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/MidiInDeviceProvider;
0 1 1 infos [Lcom/sun/media/sound/AbstractMidiDeviceProvider$Info;
MethodParameters:
Name Flags
infos
private static native int nGetNumDevices();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.lang.String nGetName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
index
private static native java.lang.String nGetVendor(int);
descriptor: (I)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
index
private static native java.lang.String nGetDescription(int);
descriptor: (I)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
index
private static native java.lang.String nGetVersion(int);
descriptor: (I)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
index
}
SourceFile: "MidiInDeviceProvider.java"
NestMembers:
com.sun.media.sound.MidiInDeviceProvider$MidiInDeviceInfo
InnerClasses:
Info = com.sun.media.sound.AbstractMidiDeviceProvider$Info of com.sun.media.sound.AbstractMidiDeviceProvider
final MidiInDeviceInfo = com.sun.media.sound.MidiInDeviceProvider$MidiInDeviceInfo of com.sun.media.sound.MidiInDeviceProvider