public abstract class javax.script.AbstractScriptEngine implements javax.script.ScriptEngine
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.script.AbstractScriptEngine
super_class: java.lang.Object
{
protected javax.script.ScriptContext context;
descriptor: Ljavax/script/ScriptContext;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javax.script.SimpleScriptContext
dup
invokespecial javax.script.SimpleScriptContext.<init>:()V
putfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/script/AbstractScriptEngine;
public void <init>(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 0
invokespecial javax.script.AbstractScriptEngine.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "n is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.script.AbstractScriptEngine javax.script.Bindings
StackMap stack:
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
aload 1
bipush 100
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/script/AbstractScriptEngine;
0 5 1 n Ljavax/script/Bindings;
MethodParameters:
Name Flags
n
public void setContext(javax.script.ScriptContext);
descriptor: (Ljavax/script/ScriptContext;)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.NullPointerException
dup
ldc "null context"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/AbstractScriptEngine;
0 4 1 ctxt Ljavax/script/ScriptContext;
MethodParameters:
Name Flags
ctxt
public javax.script.ScriptContext getContext();
descriptor: ()Ljavax/script/ScriptContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/AbstractScriptEngine;
public javax.script.Bindings getBindings(int);
descriptor: (I)Ljavax/script/Bindings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 200
if_icmpne 2
1: aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
sipush 200
invokeinterface javax.script.ScriptContext.getBindings:(I)Ljavax/script/Bindings;
areturn
2: StackMap locals:
StackMap stack:
iload 1
bipush 100
if_icmpne 4
3: aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
bipush 100
invokeinterface javax.script.ScriptContext.getBindings:(I)Ljavax/script/Bindings;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid scope value."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/script/AbstractScriptEngine;
0 5 1 scope I
MethodParameters:
Name Flags
scope
public void setBindings(javax.script.Bindings, int);
descriptor: (Ljavax/script/Bindings;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
sipush 200
if_icmpne 3
1: aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
aload 1
sipush 200
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
2: goto 7
StackMap locals:
StackMap stack:
3: iload 2
bipush 100
if_icmpne 6
4: aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
aload 1
bipush 100
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
5: goto 7
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid scope value."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/script/AbstractScriptEngine;
0 8 1 bindings Ljavax/script/Bindings;
0 8 2 scope I
MethodParameters:
Name Flags
bindings
scope
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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 100
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)Ljavax/script/Bindings;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
aload 1
aload 2
invokeinterface javax.script.Bindings.put:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: javax.script.Bindings
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/AbstractScriptEngine;
0 4 1 key Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
1 4 3 nn Ljavax/script/Bindings;
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=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 100
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)Ljavax/script/Bindings;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface javax.script.Bindings.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: javax.script.Bindings
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/script/AbstractScriptEngine;
0 4 1 key Ljava/lang/String;
1 4 2 nn Ljavax/script/Bindings;
MethodParameters:
Name Flags
key
public java.lang.Object eval(java.io.Reader, javax.script.Bindings);
descriptor: (Ljava/io/Reader;Ljavax/script/Bindings;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual javax.script.AbstractScriptEngine.getScriptContext:(Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/io/Reader;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/AbstractScriptEngine;
0 2 1 reader Ljava/io/Reader;
0 2 2 bindings Ljavax/script/Bindings;
1 2 3 ctxt Ljavax/script/ScriptContext;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
reader
bindings
public java.lang.Object eval(java.lang.String, javax.script.Bindings);
descriptor: (Ljava/lang/String;Ljavax/script/Bindings;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual javax.script.AbstractScriptEngine.getScriptContext:(Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/lang/String;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/AbstractScriptEngine;
0 2 1 script Ljava/lang/String;
0 2 2 bindings Ljavax/script/Bindings;
1 2 3 ctxt Ljavax/script/ScriptContext;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
script
bindings
public java.lang.Object eval(java.io.Reader);
descriptor: (Ljava/io/Reader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/io/Reader;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/AbstractScriptEngine;
0 1 1 reader Ljava/io/Reader;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
reader
public java.lang.Object eval(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/lang/String;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/AbstractScriptEngine;
0 1 1 script Ljava/lang/String;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
script
protected javax.script.ScriptContext getScriptContext(javax.script.Bindings);
descriptor: (Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new javax.script.SimpleScriptContext
dup
invokespecial javax.script.SimpleScriptContext.<init>:()V
astore 2
start local 2 1: aload 0
sipush 200
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)Ljavax/script/Bindings;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
aload 3
sipush 200
invokevirtual javax.script.SimpleScriptContext.setBindings:(Ljavax/script/Bindings;I)V
4: StackMap locals: javax.script.SimpleScriptContext javax.script.Bindings
StackMap stack:
aload 1
ifnull 9
5: aload 2
aload 1
6: bipush 100
7: invokevirtual javax.script.SimpleScriptContext.setBindings:(Ljavax/script/Bindings;I)V
8: goto 10
9: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
ldc "Engine scope Bindings may not be null."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getReader:()Ljava/io/Reader;
invokevirtual javax.script.SimpleScriptContext.setReader:(Ljava/io/Reader;)V
11: aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getWriter:()Ljava/io/Writer;
invokevirtual javax.script.SimpleScriptContext.setWriter:(Ljava/io/Writer;)V
12: aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getErrorWriter:()Ljava/io/Writer;
invokevirtual javax.script.SimpleScriptContext.setErrorWriter:(Ljava/io/Writer;)V
13: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/script/AbstractScriptEngine;
0 14 1 nn Ljavax/script/Bindings;
1 14 2 ctxt Ljavax/script/SimpleScriptContext;
2 14 3 gs Ljavax/script/Bindings;
MethodParameters:
Name Flags
nn
}
SourceFile: "AbstractScriptEngine.java"