public class org.springframework.scripting.bsh.BshScriptEvaluator implements org.springframework.scripting.ScriptEvaluator, org.springframework.beans.factory.BeanClassLoaderAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scripting.bsh.BshScriptEvaluator
super_class: java.lang.Object
{
private java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scripting/bsh/BshScriptEvaluator;
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
putfield org.springframework.scripting.bsh.BshScriptEvaluator.classLoader:Ljava/lang/ClassLoader;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scripting/bsh/BshScriptEvaluator;
0 3 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
public void setBeanClassLoader(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
aload 1
putfield org.springframework.scripting.bsh.BshScriptEvaluator.classLoader:Ljava/lang/ClassLoader;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scripting/bsh/BshScriptEvaluator;
0 2 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
public java.lang.Object evaluate(org.springframework.scripting.ScriptSource);
descriptor: (Lorg/springframework/scripting/ScriptSource;)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
aconst_null
invokevirtual org.springframework.scripting.bsh.BshScriptEvaluator.evaluate:(Lorg/springframework/scripting/ScriptSource;Ljava/util/Map;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scripting/bsh/BshScriptEvaluator;
0 1 1 script Lorg/springframework/scripting/ScriptSource;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
script
public evaluate(org.springframework.scripting.ScriptSource, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Lorg/springframework/scripting/ScriptSource;Ljava/util/Map;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new bsh.Interpreter
dup
invokespecial bsh.Interpreter.<init>:()V
astore 3
start local 3 1: aload 3
aload 0
getfield org.springframework.scripting.bsh.BshScriptEvaluator.classLoader:Ljava/lang/ClassLoader;
invokevirtual bsh.Interpreter.setClassLoader:(Ljava/lang/ClassLoader;)V
2: aload 2
ifnull 7
3: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.springframework.scripting.bsh.BshScriptEvaluator org.springframework.scripting.ScriptSource java.util.Map bsh.Interpreter top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 5: aload 3
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual bsh.Interpreter.set:(Ljava/lang/String;Ljava/lang/Object;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: StackMap locals: org.springframework.scripting.bsh.BshScriptEvaluator org.springframework.scripting.ScriptSource java.util.Map bsh.Interpreter
StackMap stack:
aload 3
new java.io.StringReader
dup
aload 1
invokeinterface org.springframework.scripting.ScriptSource.getScriptAsString:()Ljava/lang/String;
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokevirtual bsh.Interpreter.eval:(Ljava/io/Reader;)Ljava/lang/Object;
8: areturn
end local 3 9: StackMap locals: org.springframework.scripting.bsh.BshScriptEvaluator org.springframework.scripting.ScriptSource java.util.Map
StackMap stack: java.io.IOException
astore 3
start local 3 10: new org.springframework.scripting.ScriptCompilationException
dup
aload 1
ldc "Cannot access BeanShell script"
aload 3
invokespecial org.springframework.scripting.ScriptCompilationException.<init>:(Lorg/springframework/scripting/ScriptSource;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack: bsh.EvalError
astore 3
start local 3 12: new org.springframework.scripting.ScriptCompilationException
dup
aload 1
aload 3
invokespecial org.springframework.scripting.ScriptCompilationException.<init>:(Lorg/springframework/scripting/ScriptSource;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/scripting/bsh/BshScriptEvaluator;
0 13 1 script Lorg/springframework/scripting/ScriptSource;
0 13 2 arguments Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 9 3 interpreter Lbsh/Interpreter;
5 6 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
10 11 3 ex Ljava/io/IOException;
12 13 3 ex Lbsh/EvalError;
Exception table:
from to target type
0 8 9 Class java.io.IOException
0 8 11 Class bsh.EvalError
Signature: (Lorg/springframework/scripting/ScriptSource;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
script
arguments
}
SourceFile: "BshScriptEvaluator.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map