public final class com.sun.webkit.plugin.PluginManager
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.plugin.PluginManager
super_class: java.lang.Object
{
private static final com.sun.javafx.logging.PlatformLogger log;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.ServiceLoader<com.sun.webkit.plugin.PluginHandler> pHandlers;
descriptor: Ljava/util/ServiceLoader;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/ServiceLoader<Lcom/sun/webkit/plugin/PluginHandler;>;
private static final java.util.TreeMap<java.lang.String, com.sun.webkit.plugin.PluginHandler> hndMap;
descriptor: Ljava/util/TreeMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/TreeMap<Ljava/lang/String;Lcom/sun/webkit/plugin/PluginHandler;>;
private static com.sun.webkit.plugin.PluginHandler[] hndArray;
descriptor: [Lcom/sun/webkit/plugin/PluginHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.util.HashSet<java.lang.String> disabledPluginHandlers;
descriptor: Ljava/util/HashSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/HashSet<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc "com.sun.browser.plugin.PluginManager"
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
1: putstatic com.sun.webkit.plugin.PluginManager.log:Lcom/sun/javafx/logging/PlatformLogger;
2: ldc Lcom/sun/webkit/plugin/PluginHandler;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
3: putstatic com.sun.webkit.plugin.PluginManager.pHandlers:Ljava/util/ServiceLoader;
4: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
5: putstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
7: putstatic com.sun.webkit.plugin.PluginManager.disabledPluginHandlers:Ljava/util/HashSet;
8: ldc "false"
9: ldc "com.sun.browser.plugin"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
10: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
11: ifeq 16
12: invokestatic com.sun.webkit.plugin.PluginManager.getAvailablePlugins:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
goto 15
StackMap locals: top java.util.Iterator
StackMap stack:
13: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler
astore 0
start local 0 14: getstatic com.sun.webkit.plugin.PluginManager.disabledPluginHandlers:Ljava/util/HashSet;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 0 15: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: StackMap locals:
StackMap stack:
invokestatic com.sun.webkit.plugin.PluginManager.updatePluginHandlers:()V
17: return
LocalVariableTable:
Start End Slot Name Signature
14 15 0 hnd Lcom/sun/webkit/plugin/PluginHandler;
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/webkit/plugin/PluginManager;
private static void updatePluginHandlers();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=0
0: getstatic com.sun.webkit.plugin.PluginManager.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Update plugin handlers"
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.clear:()V
2: getstatic com.sun.webkit.plugin.PluginManager.pHandlers:Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 0
start local 0 3: goto 13
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler
astore 1
start local 1 5: aload 1
invokeinterface com.sun.webkit.plugin.PluginHandler.isSupportedPlatform:()Z
ifeq 13
aload 1
invokestatic com.sun.webkit.plugin.PluginManager.isDisabledPlugin:(Lcom/sun/webkit/plugin/PluginHandler;)Z
ifne 13
6: aload 1
invokeinterface com.sun.webkit.plugin.PluginHandler.supportedMIMETypes:()[Ljava/lang/String;
astore 2
start local 2 7: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: java.util.Iterator com.sun.webkit.plugin.PluginHandler java.lang.String[] top int int java.lang.String[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
aload 3
aload 1
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: getstatic com.sun.webkit.plugin.PluginManager.log:Lcom/sun/javafx/logging/PlatformLogger;
aload 3
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
end local 3 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 8
end local 2 end local 1 13: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.values:()Ljava/util/Collection;
astore 1
start local 1 15: aload 1
aload 1
invokeinterface java.util.Collection.size:()I
anewarray com.sun.webkit.plugin.PluginHandler
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler[]
putstatic com.sun.webkit.plugin.PluginManager.hndArray:[Lcom/sun/webkit/plugin/PluginHandler;
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
3 17 0 iter Ljava/util/Iterator<Lcom/sun/webkit/plugin/PluginHandler;>;
5 13 1 hnd Lcom/sun/webkit/plugin/PluginHandler;
7 13 2 types [Ljava/lang/String;
9 11 3 type Ljava/lang/String;
15 17 1 vals Ljava/util/Collection<Lcom/sun/webkit/plugin/PluginHandler;>;
public static com.sun.webkit.plugin.Plugin createPlugin(java.net.URL, java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lcom/sun/webkit/plugin/Plugin;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
aload 1
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler
astore 4
start local 4 1: aload 4
ifnonnull 4
2: new com.sun.webkit.plugin.DefaultPlugin
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.webkit.plugin.DefaultPlugin.<init>:(Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
3: areturn
4: StackMap locals: com.sun.webkit.plugin.PluginHandler
StackMap stack:
aload 4
aload 0
aload 1
aload 2
aload 3
invokeinterface com.sun.webkit.plugin.PluginHandler.createPlugin:(Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Lcom/sun/webkit/plugin/Plugin;
astore 5
start local 5 5: aload 5
ifnonnull 8
6: new com.sun.webkit.plugin.DefaultPlugin
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.webkit.plugin.DefaultPlugin.<init>:(Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
7: areturn
8: StackMap locals: com.sun.webkit.plugin.Plugin
StackMap stack:
aload 5
9: areturn
end local 5 end local 4 10: StackMap locals: java.net.URL java.lang.String java.lang.String[] java.lang.String[]
StackMap stack: java.lang.Throwable
astore 4
start local 4 11: getstatic com.sun.webkit.plugin.PluginManager.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Cannot create plugin"
aload 4
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
12: new com.sun.webkit.plugin.DefaultPlugin
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.webkit.plugin.DefaultPlugin.<init>:(Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 url Ljava/net/URL;
0 13 1 type Ljava/lang/String;
0 13 2 pNames [Ljava/lang/String;
0 13 3 pValues [Ljava/lang/String;
1 10 4 hnd Lcom/sun/webkit/plugin/PluginHandler;
5 10 5 p Lcom/sun/webkit/plugin/Plugin;
11 13 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 3 10 Class java.lang.Throwable
4 7 10 Class java.lang.Throwable
8 9 10 Class java.lang.Throwable
MethodParameters:
Name Flags
url
type
pNames
pValues
private static java.util.List<com.sun.webkit.plugin.PluginHandler> getAvailablePlugins();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 0
start local 0 1: getstatic com.sun.webkit.plugin.PluginManager.pHandlers:Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 1
start local 1 2: goto 6
3: StackMap locals: java.util.Vector java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler
astore 2
start local 2 4: aload 2
invokeinterface com.sun.webkit.plugin.PluginHandler.isSupportedPlatform:()Z
ifeq 6
5: aload 0
aload 2
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 res Ljava/util/Vector<Lcom/sun/webkit/plugin/PluginHandler;>;
2 8 1 iter Ljava/util/Iterator<Lcom/sun/webkit/plugin/PluginHandler;>;
4 6 2 hnd Lcom/sun/webkit/plugin/PluginHandler;
Signature: ()Ljava/util/List<Lcom/sun/webkit/plugin/PluginHandler;>;
private static com.sun.webkit.plugin.PluginHandler getEnabledPlugin(int);
descriptor: (I)Lcom/sun/webkit/plugin/PluginHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
getstatic com.sun.webkit.plugin.PluginManager.hndArray:[Lcom/sun/webkit/plugin/PluginHandler;
arraylength
if_icmplt 2
StackMap locals:
StackMap stack:
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.plugin.PluginManager.hndArray:[Lcom/sun/webkit/plugin/PluginHandler;
iload 0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
MethodParameters:
Name Flags
i
private static int getEnabledPluginCount();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.webkit.plugin.PluginManager.hndArray:[Lcom/sun/webkit/plugin/PluginHandler;
arraylength
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static void disablePlugin(com.sun.webkit.plugin.PluginHandler);
descriptor: (Lcom/sun/webkit/plugin/PluginHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.plugin.PluginManager.disabledPluginHandlers:Ljava/util/HashSet;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
1: invokestatic com.sun.webkit.plugin.PluginManager.updatePluginHandlers:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hnd Lcom/sun/webkit/plugin/PluginHandler;
MethodParameters:
Name Flags
hnd
private static void enablePlugin(com.sun.webkit.plugin.PluginHandler);
descriptor: (Lcom/sun/webkit/plugin/PluginHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.plugin.PluginManager.disabledPluginHandlers:Ljava/util/HashSet;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
pop
1: invokestatic com.sun.webkit.plugin.PluginManager.updatePluginHandlers:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hnd Lcom/sun/webkit/plugin/PluginHandler;
MethodParameters:
Name Flags
hnd
private static boolean isDisabledPlugin(com.sun.webkit.plugin.PluginHandler);
descriptor: (Lcom/sun/webkit/plugin/PluginHandler;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.plugin.PluginManager.disabledPluginHandlers:Ljava/util/HashSet;
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
2: invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hnd Lcom/sun/webkit/plugin/PluginHandler;
MethodParameters:
Name Flags
hnd
private static boolean supportsMIMEType(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
aload 0
invokevirtual java.util.TreeMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
mimeType
private static java.lang.String getPluginNameForMIMEType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.sun.webkit.plugin.PluginManager.hndMap:Ljava/util/TreeMap;
aload 0
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.webkit.plugin.PluginHandler
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface com.sun.webkit.plugin.PluginHandler.getName:()Ljava/lang/String;
areturn
2: StackMap locals: com.sun.webkit.plugin.PluginHandler
StackMap stack:
ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 mimeType Ljava/lang/String;
1 3 1 hnd Lcom/sun/webkit/plugin/PluginHandler;
MethodParameters:
Name Flags
mimeType
}
SourceFile: "PluginManager.java"