public class javax.script.ScriptEngineManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.script.ScriptEngineManager
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private java.util.HashSet<javax.script.ScriptEngineFactory> engineSpis;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljavax/script/ScriptEngineFactory;>;
private java.util.HashMap<java.lang.String, javax.script.ScriptEngineFactory> nameAssociations;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljavax/script/ScriptEngineFactory;>;
private java.util.HashMap<java.lang.String, javax.script.ScriptEngineFactory> extensionAssociations;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljavax/script/ScriptEngineFactory;>;
private java.util.HashMap<java.lang.String, javax.script.ScriptEngineFactory> mimeTypeAssociations;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljavax/script/ScriptEngineFactory;>;
private javax.script.Bindings globalScope;
descriptor: Ljavax/script/Bindings;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual javax.script.ScriptEngineManager.init:(Ljava/lang/ClassLoader;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/ScriptEngineManager;
2 4 1 ctxtLoader Ljava/lang/ClassLoader;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
invokevirtual javax.script.ScriptEngineManager.init:(Ljava/lang/ClassLoader;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/script/ScriptEngineManager;
0 3 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
private void init(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
new javax.script.SimpleBindings
dup
invokespecial javax.script.SimpleBindings.<init>:()V
putfield javax.script.ScriptEngineManager.globalScope:Ljavax/script/Bindings;
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.script.ScriptEngineManager.nameAssociations:Ljava/util/HashMap;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.script.ScriptEngineManager.extensionAssociations:Ljava/util/HashMap;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.script.ScriptEngineManager.mimeTypeAssociations:Ljava/util/HashMap;
5: new javax.script.ScriptEngineManager$1
dup
aload 0
aload 1
invokespecial javax.script.ScriptEngineManager$1.<init>:(Ljavax/script/ScriptEngineManager;Ljava/lang/ClassLoader;)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: javax.script.ScriptEngineManager java.lang.ClassLoader java.util.List top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 9: aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
aload 3
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/script/ScriptEngineManager;
0 12 1 loader Ljava/lang/ClassLoader;
7 12 2 facList Ljava/util/List<Ljavax/script/ScriptEngineFactory;>;
9 10 3 fac Ljavax/script/ScriptEngineFactory;
MethodParameters:
Name Flags
loader final
private java.util.List<javax.script.ScriptEngineFactory> initEngines(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 4
2: ldc Ljavax/script/ScriptEngineFactory;
aload 1
invokestatic sun.misc.Service.providers:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/Iterator;
astore 2
3: goto 11
4: StackMap locals: java.util.Iterator
StackMap stack:
ldc Ljavax/script/ScriptEngineFactory;
invokestatic sun.misc.Service.installedProviders:(Ljava/lang/Class;)Ljava/util/Iterator;
astore 2
5: goto 11
StackMap locals:
StackMap stack: sun.misc.ServiceConfigurationError
6: astore 3
start local 3 7: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Can't find ScriptEngineFactory providers: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 3
invokevirtual sun.misc.ServiceConfigurationError.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: aconst_null
areturn
end local 3 11: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 12: goto 20
13: StackMap locals: java.util.List
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 4
start local 4 14: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 15: goto 20
StackMap locals:
StackMap stack: sun.misc.ServiceConfigurationError
16: astore 4
start local 4 17: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ScriptEngineManager providers.next(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 4
invokevirtual sun.misc.ServiceConfigurationError.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 20: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
21: goto 26
StackMap locals:
StackMap stack: sun.misc.ServiceConfigurationError
22: astore 4
start local 4 23: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ScriptEngineManager providers.hasNext(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 4
invokevirtual sun.misc.ServiceConfigurationError.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 26: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/script/ScriptEngineManager;
0 27 1 loader Ljava/lang/ClassLoader;
1 27 2 itr Ljava/util/Iterator;
7 11 3 err Lsun/misc/ServiceConfigurationError;
12 27 3 facList Ljava/util/List<Ljavax/script/ScriptEngineFactory;>;
14 15 4 fact Ljavax/script/ScriptEngineFactory;
17 20 4 err Lsun/misc/ServiceConfigurationError;
23 26 4 err Lsun/misc/ServiceConfigurationError;
Exception table:
from to target type
1 5 6 Class sun.misc.ServiceConfigurationError
13 15 16 Class sun.misc.ServiceConfigurationError
12 21 22 Class sun.misc.ServiceConfigurationError
Signature: (Ljava/lang/ClassLoader;)Ljava/util/List<Ljavax/script/ScriptEngineFactory;>;
MethodParameters:
Name Flags
loader final
public void setBindings(javax.script.Bindings);
descriptor: (Ljavax/script/Bindings;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Global scope cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.script.ScriptEngineManager.globalScope:Ljavax/script/Bindings;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/ScriptEngineManager;
0 4 1 bindings Ljavax/script/Bindings;
MethodParameters:
Name Flags
bindings
public javax.script.Bindings getBindings();
descriptor: ()Ljavax/script/Bindings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.ScriptEngineManager.globalScope:Ljavax/script/Bindings;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/ScriptEngineManager;
public void put(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.script.ScriptEngineManager.globalScope:Ljavax/script/Bindings;
aload 1
aload 2
invokeinterface javax.script.Bindings.put:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/ScriptEngineManager;
0 2 1 key Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.script.ScriptEngineManager.globalScope:Ljavax/script/Bindings;
aload 1
invokeinterface javax.script.Bindings.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/ScriptEngineManager;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public javax.script.ScriptEngine getEngineByName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/script/ScriptEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.nameAssociations:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 2
start local 2 2: ifnull 9
3: aload 2
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 4: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 4
start local 4 5: aload 4
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
6: aload 4
7: areturn
end local 4 8: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory
StackMap stack: java.lang.Exception
astore 4
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 11: aconst_null
astore 5
start local 5 12: aload 3
invokeinterface javax.script.ScriptEngineFactory.getNames:()Ljava/util/List;
astore 5
13: goto 15
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List
StackMap stack: java.lang.Exception
14: astore 6
15: StackMap locals:
StackMap stack:
aload 5
ifnull 25
16: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 24
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
17: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 18: aload 1
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 8
start local 8 20: aload 8
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
21: aload 8
22: areturn
end local 8 23: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.lang.Exception
astore 8
end local 6 24: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 5 end local 3 25: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
26: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/script/ScriptEngineManager;
0 27 1 shortName Ljava/lang/String;
2 27 2 obj Ljava/lang/Object;
4 9 3 spi Ljavax/script/ScriptEngineFactory;
5 8 4 engine Ljavax/script/ScriptEngine;
11 25 3 spi Ljavax/script/ScriptEngineFactory;
12 25 5 names Ljava/util/List<Ljava/lang/String;>;
18 24 6 name Ljava/lang/String;
20 23 8 engine Ljavax/script/ScriptEngine;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
12 13 14 Class java.lang.Exception
19 22 23 Class java.lang.Exception
MethodParameters:
Name Flags
shortName
public javax.script.ScriptEngine getEngineByExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/script/ScriptEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.extensionAssociations:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 2
start local 2 2: ifnull 9
3: aload 2
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 4: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 4
start local 4 5: aload 4
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
6: aload 4
7: areturn
end local 4 8: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory
StackMap stack: java.lang.Exception
astore 4
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 11: aconst_null
astore 5
start local 5 12: aload 3
invokeinterface javax.script.ScriptEngineFactory.getExtensions:()Ljava/util/List;
astore 5
13: goto 15
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List
StackMap stack: java.lang.Exception
14: astore 6
15: StackMap locals:
StackMap stack:
aload 5
ifnonnull 16
goto 25
16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 24
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
17: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 18: aload 1
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 8
start local 8 20: aload 8
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
21: aload 8
22: areturn
end local 8 23: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.lang.Exception
astore 8
end local 6 24: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 5 end local 3 25: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
26: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/script/ScriptEngineManager;
0 27 1 extension Ljava/lang/String;
2 27 2 obj Ljava/lang/Object;
4 9 3 spi Ljavax/script/ScriptEngineFactory;
5 8 4 engine Ljavax/script/ScriptEngine;
11 25 3 spi Ljavax/script/ScriptEngineFactory;
12 25 5 exts Ljava/util/List<Ljava/lang/String;>;
18 24 6 ext Ljava/lang/String;
20 23 8 engine Ljavax/script/ScriptEngine;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
12 13 14 Class java.lang.Exception
19 22 23 Class java.lang.Exception
MethodParameters:
Name Flags
extension
public javax.script.ScriptEngine getEngineByMimeType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/script/ScriptEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.mimeTypeAssociations:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 2
start local 2 2: ifnull 9
3: aload 2
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 4: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 4
start local 4 5: aload 4
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
6: aload 4
7: areturn
end local 4 8: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory
StackMap stack: java.lang.Exception
astore 4
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 3
start local 3 11: aconst_null
astore 5
start local 5 12: aload 3
invokeinterface javax.script.ScriptEngineFactory.getMimeTypes:()Ljava/util/List;
astore 5
13: goto 15
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List
StackMap stack: java.lang.Exception
14: astore 6
15: StackMap locals:
StackMap stack:
aload 5
ifnonnull 16
goto 25
16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 24
StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
17: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 18: aload 1
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: aload 3
invokeinterface javax.script.ScriptEngineFactory.getScriptEngine:()Ljavax/script/ScriptEngine;
astore 8
start local 8 20: aload 8
aload 0
invokevirtual javax.script.ScriptEngineManager.getBindings:()Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptEngine.setBindings:(Ljavax/script/Bindings;I)V
21: aload 8
22: areturn
end local 8 23: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.lang.Exception
astore 8
end local 6 24: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object javax.script.ScriptEngineFactory java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 5 end local 3 25: StackMap locals: javax.script.ScriptEngineManager java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
26: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/script/ScriptEngineManager;
0 27 1 mimeType Ljava/lang/String;
2 27 2 obj Ljava/lang/Object;
4 9 3 spi Ljavax/script/ScriptEngineFactory;
5 8 4 engine Ljavax/script/ScriptEngine;
11 25 3 spi Ljavax/script/ScriptEngineFactory;
12 25 5 types Ljava/util/List<Ljava/lang/String;>;
18 24 6 type Ljava/lang/String;
20 23 8 engine Ljavax/script/ScriptEngine;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
12 13 14 Class java.lang.Exception
19 22 23 Class java.lang.Exception
MethodParameters:
Name Flags
mimeType
public java.util.List<javax.script.ScriptEngineFactory> getEngineFactories();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
invokevirtual java.util.HashSet.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield javax.script.ScriptEngineManager.engineSpis:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: javax.script.ScriptEngineManager java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.script.ScriptEngineFactory
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/script/ScriptEngineManager;
1 6 1 res Ljava/util/List<Ljavax/script/ScriptEngineFactory;>;
3 4 2 spi Ljavax/script/ScriptEngineFactory;
Signature: ()Ljava/util/List<Ljavax/script/ScriptEngineFactory;>;
public void registerEngineName(java.lang.String, javax.script.ScriptEngineFactory);
descriptor: (Ljava/lang/String;Ljavax/script/ScriptEngineFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
StackMap locals:
StackMap stack:
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.nameAssociations:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/ScriptEngineManager;
0 4 1 name Ljava/lang/String;
0 4 2 factory Ljavax/script/ScriptEngineFactory;
MethodParameters:
Name Flags
name
factory
public void registerEngineMimeType(java.lang.String, javax.script.ScriptEngineFactory);
descriptor: (Ljava/lang/String;Ljavax/script/ScriptEngineFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
StackMap locals:
StackMap stack:
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.mimeTypeAssociations:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/ScriptEngineManager;
0 4 1 type Ljava/lang/String;
0 4 2 factory Ljavax/script/ScriptEngineFactory;
MethodParameters:
Name Flags
type
factory
public void registerEngineExtension(java.lang.String, javax.script.ScriptEngineFactory);
descriptor: (Ljava/lang/String;Ljavax/script/ScriptEngineFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
StackMap locals:
StackMap stack:
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.ScriptEngineManager.extensionAssociations:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/ScriptEngineManager;
0 4 1 extension Ljava/lang/String;
0 4 2 factory Ljavax/script/ScriptEngineFactory;
MethodParameters:
Name Flags
extension
factory
}
SourceFile: "ScriptEngineManager.java"
NestMembers:
javax.script.ScriptEngineManager$1
InnerClasses:
javax.script.ScriptEngineManager$1