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 "bindings 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 bindings Ljavax/script/Bindings;
MethodParameters:
Name Flags
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.io.Reader, javax.script.Bindings);
descriptor: (Ljava/io/Reader;Ljavax/script/Bindings;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 0
aload 2
invokevirtual javax.script.AbstractScriptEngine.getScriptContext:(Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/io/Reader;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 2 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;
0 1 2 bindings Ljavax/script/Bindings;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
reader
bindings
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
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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 0
aload 2
invokevirtual javax.script.AbstractScriptEngine.getScriptContext:(Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
invokevirtual javax.script.AbstractScriptEngine.eval:(Ljava/lang/String;Ljavax/script/ScriptContext;)Ljava/lang/Object;
areturn
end local 2 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;
0 1 2 bindings Ljavax/script/Bindings;
Exceptions:
throws javax.script.ScriptException
MethodParameters:
Name Flags
script
bindings
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
bipush 100
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)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/AbstractScriptEngine;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
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_icmpeq 1
iload 1
bipush 100
if_icmpne 2
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
iload 1
invokeinterface javax.script.ScriptContext.getBindings:(I)Ljavax/script/Bindings;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid scope"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/script/AbstractScriptEngine;
0 3 1 scope I
MethodParameters:
Name Flags
scope
protected javax.script.ScriptContext getScriptContext(javax.script.Bindings);
descriptor: (Ljavax/script/Bindings;)Ljavax/script/ScriptContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "ENGINE_SCOPE bindings cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new javax.script.SimpleScriptContext
dup
invokespecial javax.script.SimpleScriptContext.<init>:()V
astore 2
start local 2 3: aload 2
aload 1
bipush 100
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
4: aload 2
aload 0
sipush 200
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)Ljavax/script/Bindings;
sipush 200
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
5: aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getReader:()Ljava/io/Reader;
invokeinterface javax.script.ScriptContext.setReader:(Ljava/io/Reader;)V
6: aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getWriter:()Ljava/io/Writer;
invokeinterface javax.script.ScriptContext.setWriter:(Ljava/io/Writer;)V
7: aload 2
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
invokeinterface javax.script.ScriptContext.getErrorWriter:()Ljava/io/Writer;
invokeinterface javax.script.ScriptContext.setErrorWriter:(Ljava/io/Writer;)V
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/script/AbstractScriptEngine;
0 9 1 bindings Ljavax/script/Bindings;
3 9 2 scriptContext Ljavax/script/ScriptContext;
MethodParameters:
Name Flags
bindings
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 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "name is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "name is empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
bipush 100
invokevirtual javax.script.AbstractScriptEngine.getBindings:(I)Ljavax/script/Bindings;
aload 1
aload 2
invokeinterface javax.script.Bindings.put:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/script/AbstractScriptEngine;
0 6 1 key Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
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_icmpeq 1
iload 2
bipush 100
if_icmpne 3
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.script.AbstractScriptEngine.context:Ljavax/script/ScriptContext;
aload 1
iload 2
invokeinterface javax.script.ScriptContext.setBindings:(Ljavax/script/Bindings;I)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid scope"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/script/AbstractScriptEngine;
0 5 1 bindings Ljavax/script/Bindings;
0 5 2 scope I
MethodParameters:
Name Flags
bindings
scope
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 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 "context is null"
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 context Ljavax/script/ScriptContext;
MethodParameters:
Name Flags
context
}
SourceFile: "AbstractScriptEngine.java"