class org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler implements java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler
super_class: java.lang.Object
{
private final bsh.XThis xt;
descriptor: Lbsh/XThis;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(bsh.XThis);
descriptor: (Lbsh/XThis;)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.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scripting/bsh/BshScriptUtils$BshObjectInvocationHandler;
0 3 1 xt Lbsh/XThis;
MethodParameters:
Name Flags
xt
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic org.springframework.util.ReflectionUtils.isEqualsMethod:(Ljava/lang/reflect/Method;)Z
ifeq 2
1: aload 0
aload 3
iconst_0
aaload
invokevirtual org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.isProxyForSameBshObject:(Ljava/lang/Object;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.springframework.util.ReflectionUtils.isHashCodeMethod:(Ljava/lang/reflect/Method;)Z
ifeq 4
3: aload 0
getfield org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokestatic org.springframework.util.ReflectionUtils.isToStringMethod:(Ljava/lang/reflect/Method;)Z
ifeq 6
5: new java.lang.StringBuilder
dup
ldc "BeanShell object ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 3
invokevirtual bsh.XThis.invokeMethod:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 7: aload 4
getstatic bsh.Primitive.NULL:Lbsh/Primitive;
if_acmpeq 8
aload 4
getstatic bsh.Primitive.VOID:Lbsh/Primitive;
if_acmpne 9
8: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 4
instanceof bsh.Primitive
ifeq 12
10: aload 4
checkcast bsh.Primitive
invokevirtual bsh.Primitive.getValue:()Ljava/lang/Object;
11: areturn
12: StackMap locals:
StackMap stack:
aload 4
13: areturn
end local 4 14: StackMap locals: org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler java.lang.Object java.lang.reflect.Method java.lang.Object[]
StackMap stack: bsh.EvalError
astore 4
start local 4 15: new org.springframework.scripting.bsh.BshScriptUtils$BshExecutionException
dup
aload 4
invokespecial org.springframework.scripting.bsh.BshScriptUtils$BshExecutionException.<init>:(Lbsh/EvalError;)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/bsh/BshScriptUtils$BshObjectInvocationHandler;
0 16 1 proxy Ljava/lang/Object;
0 16 2 method Ljava/lang/reflect/Method;
0 16 3 args [Ljava/lang/Object;
7 14 4 result Ljava/lang/Object;
15 16 4 ex Lbsh/EvalError;
Exception table:
from to target type
6 8 14 Class bsh.EvalError
9 11 14 Class bsh.EvalError
12 13 14 Class bsh.EvalError
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
proxy
method
args
private boolean isProxyForSameBshObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
astore 2
start local 2 3: aload 2
instanceof org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler
ifeq 6
4: aload 0
getfield org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
aload 2
checkcast org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler
getfield org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler.xt:Lbsh/XThis;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
StackMap locals: java.lang.reflect.InvocationHandler
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scripting/bsh/BshScriptUtils$BshObjectInvocationHandler;
0 7 1 other Ljava/lang/Object;
3 7 2 ih Ljava/lang/reflect/InvocationHandler;
MethodParameters:
Name Flags
other
}
SourceFile: "BshScriptUtils.java"
NestHost: org.springframework.scripting.bsh.BshScriptUtils
InnerClasses:
public final BshExecutionException = org.springframework.scripting.bsh.BshScriptUtils$BshExecutionException of org.springframework.scripting.bsh.BshScriptUtils
private BshObjectInvocationHandler = org.springframework.scripting.bsh.BshScriptUtils$BshObjectInvocationHandler of org.springframework.scripting.bsh.BshScriptUtils