public class org.springframework.scripting.groovy.GroovyScriptEvaluator 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.groovy.GroovyScriptEvaluator
super_class: java.lang.Object
{
private java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration;
descriptor: Lorg/codehaus/groovy/control/CompilerConfiguration;
flags: (0x0002) ACC_PRIVATE
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 org.codehaus.groovy.control.CompilerConfiguration
dup
invokespecial org.codehaus.groovy.control.CompilerConfiguration.<init>:()V
putfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.codehaus.groovy.control.CompilerConfiguration
dup
invokespecial org.codehaus.groovy.control.CompilerConfiguration.<init>:()V
putfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
2: aload 0
aload 1
putfield org.springframework.scripting.groovy.GroovyScriptEvaluator.classLoader:Ljava/lang/ClassLoader;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
0 4 1 classLoader Ljava/lang/ClassLoader;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
classLoader
public void setCompilerConfiguration(org.codehaus.groovy.control.CompilerConfiguration);
descriptor: (Lorg/codehaus/groovy/control/CompilerConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
ifnull 2
aload 1
goto 3
StackMap locals:
StackMap stack: org.springframework.scripting.groovy.GroovyScriptEvaluator
2: new org.codehaus.groovy.control.CompilerConfiguration
dup
invokespecial org.codehaus.groovy.control.CompilerConfiguration.<init>:()V
3: StackMap locals: org.springframework.scripting.groovy.GroovyScriptEvaluator org.codehaus.groovy.control.CompilerConfiguration
StackMap stack: org.springframework.scripting.groovy.GroovyScriptEvaluator org.codehaus.groovy.control.CompilerConfiguration
putfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
0 5 1 compilerConfiguration Lorg/codehaus/groovy/control/CompilerConfiguration;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
compilerConfiguration
public org.codehaus.groovy.control.CompilerConfiguration getCompilerConfiguration();
descriptor: ()Lorg/codehaus/groovy/control/CompilerConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
public void setCompilationCustomizers(org.codehaus.groovy.control.customizers.CompilationCustomizer[]);
descriptor: ([Lorg/codehaus/groovy/control/customizers/CompilationCustomizer;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
aload 1
invokevirtual org.codehaus.groovy.control.CompilerConfiguration.addCompilationCustomizers:([Lorg/codehaus/groovy/control/customizers/CompilationCustomizer;)Lorg/codehaus/groovy/control/CompilerConfiguration;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
0 2 1 compilationCustomizers [Lorg/codehaus/groovy/control/customizers/CompilationCustomizer;
MethodParameters:
Name Flags
compilationCustomizers
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.groovy.GroovyScriptEvaluator.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/groovy/GroovyScriptEvaluator;
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.groovy.GroovyScriptEvaluator.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/groovy/GroovyScriptEvaluator;
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=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new groovy.lang.GroovyShell
dup
1: aload 0
getfield org.springframework.scripting.groovy.GroovyScriptEvaluator.classLoader:Ljava/lang/ClassLoader;
new groovy.lang.Binding
dup
aload 2
invokespecial groovy.lang.Binding.<init>:(Ljava/util/Map;)V
aload 0
getfield org.springframework.scripting.groovy.GroovyScriptEvaluator.compilerConfiguration:Lorg/codehaus/groovy/control/CompilerConfiguration;
2: invokespecial groovy.lang.GroovyShell.<init>:(Ljava/lang/ClassLoader;Lgroovy/lang/Binding;Lorg/codehaus/groovy/control/CompilerConfiguration;)V
astore 3
start local 3 3: aload 1
instanceof org.springframework.scripting.support.ResourceScriptSource
ifeq 5
4: aload 1
checkcast org.springframework.scripting.support.ResourceScriptSource
invokevirtual org.springframework.scripting.support.ResourceScriptSource.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
goto 6
StackMap locals: groovy.lang.GroovyShell
StackMap stack:
5: aconst_null
6: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 7: aload 4
ifnull 10
8: aload 3
aload 1
invokeinterface org.springframework.scripting.ScriptSource.getScriptAsString:()Ljava/lang/String;
aload 4
invokevirtual groovy.lang.GroovyShell.evaluate:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
9: areturn
10: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 1
invokeinterface org.springframework.scripting.ScriptSource.getScriptAsString:()Ljava/lang/String;
invokevirtual groovy.lang.GroovyShell.evaluate:(Ljava/lang/String;)Ljava/lang/Object;
11: areturn
end local 4 12: StackMap locals: org.springframework.scripting.groovy.GroovyScriptEvaluator org.springframework.scripting.ScriptSource java.util.Map groovy.lang.GroovyShell
StackMap stack: java.io.IOException
astore 4
start local 4 13: new org.springframework.scripting.ScriptCompilationException
dup
aload 1
ldc "Cannot access Groovy script"
aload 4
invokespecial org.springframework.scripting.ScriptCompilationException.<init>:(Lorg/springframework/scripting/ScriptSource;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 14: StackMap locals:
StackMap stack: groovy.lang.GroovyRuntimeException
astore 4
start local 4 15: new org.springframework.scripting.ScriptCompilationException
dup
aload 1
aload 4
invokespecial org.springframework.scripting.ScriptCompilationException.<init>:(Lorg/springframework/scripting/ScriptSource;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/springframework/scripting/groovy/GroovyScriptEvaluator;
0 16 1 script Lorg/springframework/scripting/ScriptSource;
0 16 2 arguments Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
3 16 3 groovyShell Lgroovy/lang/GroovyShell;
7 12 4 filename Ljava/lang/String;
13 14 4 ex Ljava/io/IOException;
15 16 4 ex Lgroovy/lang/GroovyRuntimeException;
Exception table:
from to target type
3 9 12 Class java.io.IOException
10 11 12 Class java.io.IOException
3 9 14 Class groovy.lang.GroovyRuntimeException
10 11 14 Class groovy.lang.GroovyRuntimeException
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: "GroovyScriptEvaluator.java"