public class org.jruby.embed.internal.EmbedRubyObjectAdapterImpl implements org.jruby.embed.EmbedRubyObjectAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl
super_class: java.lang.Object
{
private final org.jruby.RubyObjectAdapter adapter;
descriptor: Lorg/jruby/RubyObjectAdapter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.embed.ScriptingContainer container;
descriptor: Lorg/jruby/embed/ScriptingContainer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$jruby$embed$internal$EmbedRubyObjectAdapterImpl$MethodType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(org.jruby.embed.ScriptingContainer);
descriptor: (Lorg/jruby/embed/ScriptingContainer;)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
invokestatic org.jruby.javasupport.JavaEmbedUtils.newObjectAdapter:()Lorg/jruby/RubyObjectAdapter;
putfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
2: aload 0
aload 1
putfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 4 1 container Lorg/jruby/embed/ScriptingContainer;
MethodParameters:
Name Flags
container
public boolean isKindOf(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
invokeinterface org.jruby.RubyObjectAdapter.isKindOf:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 value Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 rubyModule Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
value
rubyModule
public org.jruby.runtime.builtin.IRubyObject[] convertToJavaArray(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
invokeinterface org.jruby.RubyObjectAdapter.convertToJavaArray:(Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 array Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
array
public org.jruby.RubyInteger convertToRubyInteger(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
invokeinterface org.jruby.RubyObjectAdapter.convertToRubyInteger:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyInteger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
public org.jruby.RubyString convertToRubyString(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
invokeinterface org.jruby.RubyObjectAdapter.convertToRubyString:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
public org.jruby.runtime.builtin.IRubyObject setInstanceVariable(org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getVarMap:()Lorg/jruby/embed/internal/BiVariableMap;
astore 4
start local 4 1: aload 4
dup
astore 5
monitorenter
2: aload 4
aload 2
invokevirtual org.jruby.embed.internal.BiVariableMap.containsKey:(Ljava/lang/Object;)Z
ifeq 6
3: aload 4
aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTopSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
aload 2
invokevirtual org.jruby.embed.internal.BiVariableMap.getVariable:(Lorg/jruby/RubyObject;Ljava/lang/String;)Lorg/jruby/embed/variable/BiVariable;
astore 6
start local 6 4: aload 6
aload 3
invokeinterface org.jruby.embed.variable.BiVariable.setRubyObject:(Lorg/jruby/runtime/builtin/IRubyObject;)V
end local 6 5: goto 8
6: StackMap locals: org.jruby.embed.internal.BiVariableMap org.jruby.embed.internal.BiVariableMap
StackMap stack:
new org.jruby.embed.variable.InstanceVariable
dup
aload 1
aload 2
aload 3
invokespecial org.jruby.embed.variable.InstanceVariable.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
astore 6
start local 6 7: aload 4
aload 2
aload 6
invokevirtual org.jruby.embed.internal.BiVariableMap.update:(Ljava/lang/String;Lorg/jruby/embed/variable/BiVariable;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 5
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 5
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getInstanceVariables:()Lorg/jruby/runtime/builtin/InstanceVariables;
aload 2
aload 3
invokeinterface org.jruby.runtime.builtin.InstanceVariables.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 13 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 13 2 variableName Ljava/lang/String;
0 13 3 value Lorg/jruby/runtime/builtin/IRubyObject;
1 13 4 map Lorg/jruby/embed/internal/BiVariableMap;
4 5 6 bv Lorg/jruby/embed/variable/BiVariable;
7 8 6 iv Lorg/jruby/embed/variable/InstanceVariable;
Exception table:
from to target type
2 9 10 any
10 11 10 any
MethodParameters:
Name Flags
obj
variableName
value
public org.jruby.runtime.builtin.IRubyObject getInstanceVariable(org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getVarMap:()Lorg/jruby/embed/internal/BiVariableMap;
astore 3
start local 3 1: aload 3
dup
astore 4
monitorenter
2: aload 3
aload 2
invokevirtual org.jruby.embed.internal.BiVariableMap.containsKey:(Ljava/lang/Object;)Z
ifeq 6
3: aload 3
aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTopSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
aload 2
invokevirtual org.jruby.embed.internal.BiVariableMap.getVariable:(Lorg/jruby/RubyObject;Ljava/lang/String;)Lorg/jruby/embed/variable/BiVariable;
astore 5
start local 5 4: aload 5
invokeinterface org.jruby.embed.variable.BiVariable.getRubyObject:()Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
monitorexit
5: areturn
end local 5 6: StackMap locals: org.jruby.embed.internal.BiVariableMap org.jruby.embed.internal.BiVariableMap
StackMap stack:
aload 4
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 4
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 11 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 11 2 variableName Ljava/lang/String;
1 11 3 map Lorg/jruby/embed/internal/BiVariableMap;
4 6 5 bv Lorg/jruby/embed/variable/BiVariable;
Exception table:
from to target type
2 5 8 any
6 7 8 any
8 9 8 any
MethodParameters:
Name Flags
obj
variableName
public org.jruby.runtime.builtin.IRubyObject callMethod(org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
invokeinterface org.jruby.RubyObjectAdapter.callMethod:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 methodName Ljava/lang/String;
MethodParameters:
Name Flags
receiver
methodName
public org.jruby.runtime.builtin.IRubyObject callMethod(org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
aload 3
invokeinterface org.jruby.RubyObjectAdapter.callMethod:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 methodName Ljava/lang/String;
0 1 3 singleArg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
receiver
methodName
singleArg
public org.jruby.runtime.builtin.IRubyObject callMethod(org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
aload 3
invokeinterface org.jruby.RubyObjectAdapter.callMethod:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 methodName Ljava/lang/String;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
receiver
methodName
args
public org.jruby.runtime.builtin.IRubyObject callMethod(org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
aload 3
aload 4
invokeinterface org.jruby.RubyObjectAdapter.callMethod:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 methodName Ljava/lang/String;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
receiver
methodName
args
block
public org.jruby.runtime.builtin.IRubyObject callSuper(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
invokeinterface org.jruby.RubyObjectAdapter.callSuper:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
receiver
args
public org.jruby.runtime.builtin.IRubyObject callSuper(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.adapter:Lorg/jruby/RubyObjectAdapter;
aload 1
aload 2
aload 3
invokeinterface org.jruby.RubyObjectAdapter.callSuper:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 1 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
receiver
args
block
public <T> T callMethod(, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 4
start local 4 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_NOARG:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 3
aload 4
aload 2
aconst_null
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 4 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 4
start local 4 4: aload 4
athrow
end local 4 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 6: new org.jruby.embed.InvokeFailedException
dup
aload 4
invokespecial org.jruby.embed.InvokeFailedException.<init>:(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 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 returnType Ljava/lang/Class<TT;>;
1 3 4 rubyReceiver Lorg/jruby/RubyObject;
4 5 4 e Lorg/jruby/embed/InvokeFailedException;
6 7 4 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
methodName
returnType
public <T> T callMethod(, java.lang.String, , java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 5
start local 5 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 4
aload 5
aload 2
aconst_null
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 5
start local 5 4: aload 5
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 6: new org.jruby.embed.InvokeFailedException
dup
aload 5
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 singleArg Ljava/lang/Object;
0 7 4 returnType Ljava/lang/Class<TT;>;
1 3 5 rubyReceiver Lorg/jruby/RubyObject;
4 5 5 e Lorg/jruby/embed/InvokeFailedException;
6 7 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
methodName
singleArg
returnType
public <T> T callMethod(, java.lang.String, [], java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 5
start local 5 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 4
aload 5
aload 2
aconst_null
aconst_null
aload 3
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 5
start local 5 4: aload 5
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 6: new org.jruby.embed.InvokeFailedException
dup
aload 5
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 args [Ljava/lang/Object;
0 7 4 returnType Ljava/lang/Class<TT;>;
1 3 5 rubyReceiver Lorg/jruby/RubyObject;
4 5 5 e Lorg/jruby/embed/InvokeFailedException;
6 7 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
methodName
args
returnType
public <T> T callMethod(, java.lang.String, [], org.jruby.runtime.Block, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 6
start local 6 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 5
aload 6
aload 2
aload 4
aconst_null
aload 3
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 6 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 6
start local 6 4: aload 6
athrow
end local 6 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 6: new org.jruby.embed.InvokeFailedException
dup
aload 6
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 args [Ljava/lang/Object;
0 7 4 block Lorg/jruby/runtime/Block;
0 7 5 returnType Ljava/lang/Class<TT;>;
1 3 6 rubyReceiver Lorg/jruby/RubyObject;
4 5 6 e Lorg/jruby/embed/InvokeFailedException;
6 7 6 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
methodName
args
block
returnType
public <T> T callMethod(, java.lang.String, java.lang.Class<T>, org.jruby.embed.EmbedEvalUnit);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Lorg/jruby/embed/EmbedEvalUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 5
start local 5 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_NOARG:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 3
aload 5
aload 2
aconst_null
aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 5
start local 5 4: aload 5
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 6: new org.jruby.embed.InvokeFailedException
dup
aload 5
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 returnType Ljava/lang/Class<TT;>;
0 7 4 unit Lorg/jruby/embed/EmbedEvalUnit;
1 3 5 rubyReceiver Lorg/jruby/RubyObject;
4 5 5 e Lorg/jruby/embed/InvokeFailedException;
6 7 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class<TT;>;Lorg/jruby/embed/EmbedEvalUnit;)TT;
MethodParameters:
Name Flags
receiver
methodName
returnType
unit
public <T> T callMethod(, java.lang.String, [], java.lang.Class<T>, org.jruby.embed.EmbedEvalUnit);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Class;Lorg/jruby/embed/EmbedEvalUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 6
start local 6 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 4
aload 6
aload 2
aconst_null
aload 5
aload 3
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 6 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 6
start local 6 4: aload 6
athrow
end local 6 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 6: new org.jruby.embed.InvokeFailedException
dup
aload 6
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 args [Ljava/lang/Object;
0 7 4 returnType Ljava/lang/Class<TT;>;
0 7 5 unit Lorg/jruby/embed/EmbedEvalUnit;
1 3 6 rubyReceiver Lorg/jruby/RubyObject;
4 5 6 e Lorg/jruby/embed/InvokeFailedException;
6 7 6 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Class<TT;>;Lorg/jruby/embed/EmbedEvalUnit;)TT;
MethodParameters:
Name Flags
receiver
methodName
args
returnType
unit
public <T> T callMethod(, java.lang.String, [], org.jruby.runtime.Block, java.lang.Class<T>, org.jruby.embed.EmbedEvalUnit);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class;Lorg/jruby/embed/EmbedEvalUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 7
start local 7 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 5
aload 7
aload 2
aload 4
aload 6
aload 3
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 7 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 7
start local 7 4: aload 7
athrow
end local 7 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
start local 7 6: new org.jruby.embed.InvokeFailedException
dup
aload 7
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 methodName Ljava/lang/String;
0 7 3 args [Ljava/lang/Object;
0 7 4 block Lorg/jruby/runtime/Block;
0 7 5 returnType Ljava/lang/Class<TT;>;
0 7 6 unit Lorg/jruby/embed/EmbedEvalUnit;
1 3 7 rubyReceiver Lorg/jruby/RubyObject;
4 5 7 e Lorg/jruby/embed/InvokeFailedException;
6 7 7 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class<TT;>;Lorg/jruby/embed/EmbedEvalUnit;)TT;
MethodParameters:
Name Flags
receiver
methodName
args
block
returnType
unit
public <T> T callSuper(, [], java.lang.Class<T>);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 4
start local 4 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLSUPER:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 3
aload 4
aconst_null
aconst_null
aconst_null
aload 2
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 4 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 4
start local 4 4: aload 4
athrow
end local 4 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 6: new org.jruby.embed.InvokeFailedException
dup
aload 4
invokespecial org.jruby.embed.InvokeFailedException.<init>:(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 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 args [Ljava/lang/Object;
0 7 3 returnType Ljava/lang/Class<TT;>;
1 3 4 rubyReceiver Lorg/jruby/RubyObject;
4 5 4 e Lorg/jruby/embed/InvokeFailedException;
6 7 4 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
args
returnType
public <T> T callSuper(, [], org.jruby.runtime.Block, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 5
start local 5 1: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLSUPER_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 4
aload 5
aconst_null
aload 3
aconst_null
aload 2
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
end local 5 3: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 5
start local 5 4: aload 5
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 6: new org.jruby.embed.InvokeFailedException
dup
aload 5
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 7 1 receiver Ljava/lang/Object;
0 7 2 args [Ljava/lang/Object;
0 7 3 block Lorg/jruby/runtime/Block;
0 7 4 returnType Ljava/lang/Class<TT;>;
1 3 5 rubyReceiver Lorg/jruby/RubyObject;
4 5 5 e Lorg/jruby/embed/InvokeFailedException;
6 7 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class org.jruby.embed.InvokeFailedException
0 2 5 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;[Ljava/lang/Object;Lorg/jruby/runtime/Block;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
receiver
args
block
returnType
public java.lang.Object callMethod(java.lang.Object, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 4
start local 4 1: aload 3
arraylength
ifne 4
2: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_NOARG:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
ldc Ljava/lang/Object;
aload 4
aload 2
aconst_null
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals: org.jruby.RubyObject
StackMap stack:
aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
ldc Ljava/lang/Object;
aload 4
aload 2
aconst_null
aconst_null
aload 3
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
end local 4 6: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl java.lang.Object java.lang.String java.lang.Object[]
StackMap stack: org.jruby.embed.InvokeFailedException
astore 4
start local 4 7: aload 4
athrow
end local 4 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 9: new org.jruby.embed.InvokeFailedException
dup
aload 4
invokespecial org.jruby.embed.InvokeFailedException.<init>:(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 10 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 10 1 receiver Ljava/lang/Object;
0 10 2 methodName Ljava/lang/String;
0 10 3 args [Ljava/lang/Object;
1 6 4 rubyReceiver Lorg/jruby/RubyObject;
7 8 4 e Lorg/jruby/embed/InvokeFailedException;
9 10 4 e Ljava/lang/Throwable;
Exception table:
from to target type
0 3 6 Class org.jruby.embed.InvokeFailedException
4 5 6 Class org.jruby.embed.InvokeFailedException
0 3 8 Class java.lang.Throwable
4 5 8 Class java.lang.Throwable
MethodParameters:
Name Flags
receiver
methodName
args
public java.lang.Object callMethod(java.lang.Object, java.lang.String, org.jruby.runtime.Block, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Lorg/jruby/runtime/Block;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
arraylength
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "needs at least one argument in a method"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.getReceiverObject:(Ljava/lang/Object;)Lorg/jruby/RubyObject;
astore 5
start local 5 3: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
ldc Ljava/lang/Object;
aload 5
aload 2
aload 3
aconst_null
aload 4
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
4: areturn
end local 5 5: StackMap locals:
StackMap stack: org.jruby.embed.InvokeFailedException
astore 5
start local 5 6: aload 5
athrow
end local 5 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 8: new org.jruby.embed.InvokeFailedException
dup
aload 5
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 9 1 receiver Ljava/lang/Object;
0 9 2 methodName Ljava/lang/String;
0 9 3 block Lorg/jruby/runtime/Block;
0 9 4 args [Ljava/lang/Object;
3 5 5 rubyReceiver Lorg/jruby/RubyObject;
6 7 5 e Lorg/jruby/embed/InvokeFailedException;
8 9 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class org.jruby.embed.InvokeFailedException
0 4 7 Class java.lang.Throwable
MethodParameters:
Name Flags
receiver
methodName
block
args
public <T> T runRubyMethod(java.lang.Class<T>, , java.lang.String, org.jruby.runtime.Block, []);
descriptor: (Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;Lorg/jruby/runtime/Block;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRuntime:()Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.javasupport.JavaEmbedUtils.javaToRuby:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
astore 6
start local 6 1: aload 5
arraylength
ifne 4
2: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_NOARG:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 1
aload 6
aload 3
aload 4
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals: org.jruby.RubyObject
StackMap stack:
aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
aload 1
aload 6
aload 3
aload 4
aconst_null
aload 5
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
end local 6 6: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl java.lang.Class java.lang.Object java.lang.String org.jruby.runtime.Block java.lang.Object[]
StackMap stack: org.jruby.embed.InvokeFailedException
astore 6
start local 6 7: aload 6
athrow
end local 6 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 9: new org.jruby.embed.InvokeFailedException
dup
aload 6
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 10 1 returnType Ljava/lang/Class<TT;>;
0 10 2 receiver Ljava/lang/Object;
0 10 3 methodName Ljava/lang/String;
0 10 4 block Lorg/jruby/runtime/Block;
0 10 5 args [Ljava/lang/Object;
1 6 6 rubyReceiver Lorg/jruby/RubyObject;
7 8 6 e Lorg/jruby/embed/InvokeFailedException;
9 10 6 e Ljava/lang/Throwable;
Exception table:
from to target type
0 3 6 Class org.jruby.embed.InvokeFailedException
4 5 6 Class org.jruby.embed.InvokeFailedException
0 3 8 Class java.lang.Throwable
4 5 8 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/Object;Ljava/lang/String;Lorg/jruby/runtime/Block;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
returnType
receiver
methodName
block
args
private <T> T call(org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType, java.lang.Class<T>, org.jruby.RubyObject, java.lang.String, org.jruby.runtime.Block, org.jruby.embed.EmbedEvalUnit, []);
descriptor: (Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=6, locals=15, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 4
ifnull 1
aload 4
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRuntime:()Lorg/jruby/Ruby;
astore 8
start local 8 3: iconst_1
istore 9
start local 9 4: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
getstatic org.jruby.embed.AttributeName.SHARING_VARIABLES:Lorg/jruby/embed/AttributeName;
invokevirtual org.jruby.embed.ScriptingContainer.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 5: aload 10
ifnull 7
aload 10
instanceof java.lang.Boolean
ifeq 7
aload 10
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 7
6: iconst_0
istore 9
7: StackMap locals: org.jruby.Ruby int java.lang.Object
StackMap stack:
iload 9
ifeq 13
8: aload 6
ifnull 10
aload 6
invokeinterface org.jruby.embed.EmbedEvalUnit.getScope:()Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
ifnull 10
aload 6
invokeinterface org.jruby.embed.EmbedEvalUnit.getScope:()Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
astore 11
start local 11 9: goto 11
end local 11 10: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
iconst_0
invokestatic org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.getManyVarsDynamicScope:(Lorg/jruby/embed/ScriptingContainer;I)Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
astore 11
start local 11 11: StackMap locals: org.jruby.runtime.scope.ManyVarsDynamicScope
StackMap stack:
aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getVarMap:()Lorg/jruby/embed/internal/BiVariableMap;
aload 11
iconst_0
aload 3
invokevirtual org.jruby.embed.internal.BiVariableMap.inject:(Lorg/jruby/runtime/scope/ManyVarsDynamicScope;ILorg/jruby/runtime/builtin/IRubyObject;)V
12: aload 8
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 11
invokevirtual org.jruby.runtime.ThreadContext.pushScope:(Lorg/jruby/runtime/DynamicScope;)V
end local 11 13: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 4
aload 5
aload 7
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callEachType:(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 11
start local 11 14: iload 9
ifeq 16
15: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getVarMap:()Lorg/jruby/embed/internal/BiVariableMap;
aload 3
invokevirtual org.jruby.embed.internal.BiVariableMap.retrieve:(Lorg/jruby/runtime/builtin/IRubyObject;)V
16: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 11
instanceof org.jruby.RubyNil
ifne 24
aload 2
ifnull 24
17: aload 8
aload 11
aload 2
invokestatic org.jruby.javasupport.JavaEmbedUtils.rubyToJava:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/Class;)Ljava/lang/Object;
astore 12
start local 12 18: aload 12
ifnull 19
aload 2
aload 12
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
goto 20
StackMap locals: java.lang.Object
StackMap stack:
19: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
20: astore 14
21: iload 9
ifeq 23
22: aload 8
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.popScope:()V
23: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType java.lang.Class org.jruby.RubyObject java.lang.String org.jruby.runtime.Block org.jruby.embed.EmbedEvalUnit java.lang.Object[] org.jruby.Ruby int java.lang.Object org.jruby.runtime.builtin.IRubyObject java.lang.Object top java.lang.Object
StackMap stack:
aload 14
areturn
end local 12 24: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType java.lang.Class org.jruby.RubyObject java.lang.String org.jruby.runtime.Block org.jruby.embed.EmbedEvalUnit java.lang.Object[] org.jruby.Ruby int java.lang.Object org.jruby.runtime.builtin.IRubyObject
StackMap stack:
iload 9
ifeq 26
25: aload 8
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.popScope:()V
26: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 11 27: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType java.lang.Class org.jruby.RubyObject java.lang.String org.jruby.runtime.Block org.jruby.embed.EmbedEvalUnit java.lang.Object[] org.jruby.Ruby int java.lang.Object
StackMap stack: org.jruby.exceptions.RaiseException
astore 11
start local 11 28: aload 8
aload 11
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
invokevirtual org.jruby.Ruby.printError:(Lorg/jruby/RubyException;)V
29: new org.jruby.embed.InvokeFailedException
dup
aload 11
invokevirtual org.jruby.exceptions.RaiseException.getMessage:()Ljava/lang/String;
aload 11
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 11 30: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
start local 11 31: new org.jruby.embed.InvokeFailedException
dup
aload 11
invokespecial org.jruby.embed.InvokeFailedException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
33: iload 9
ifeq 35
34: aload 8
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.popScope:()V
35: StackMap locals: org.jruby.embed.internal.EmbedRubyObjectAdapterImpl org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType java.lang.Class org.jruby.RubyObject java.lang.String org.jruby.runtime.Block org.jruby.embed.EmbedEvalUnit java.lang.Object[] org.jruby.Ruby int java.lang.Object top top java.lang.Throwable
StackMap stack:
aload 13
athrow
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 36 1 type Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
0 36 2 returnType Ljava/lang/Class<TT;>;
0 36 3 rubyReceiver Lorg/jruby/RubyObject;
0 36 4 methodName Ljava/lang/String;
0 36 5 block Lorg/jruby/runtime/Block;
0 36 6 unit Lorg/jruby/embed/EmbedEvalUnit;
0 36 7 args [Ljava/lang/Object;
3 36 8 runtime Lorg/jruby/Ruby;
4 36 9 sharing_variables Z
5 36 10 obj Ljava/lang/Object;
9 10 11 scope Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
11 13 11 scope Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
14 27 11 result Lorg/jruby/runtime/builtin/IRubyObject;
18 24 12 ret Ljava/lang/Object;
28 30 11 e Lorg/jruby/exceptions/RaiseException;
31 32 11 e Ljava/lang/Throwable;
Exception table:
from to target type
13 21 27 Class org.jruby.exceptions.RaiseException
13 21 30 Class java.lang.Throwable
13 21 32 any
27 32 32 any
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Ljava/lang/Class<TT;>;Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;Lorg/jruby/embed/EmbedEvalUnit;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
type
returnType
rubyReceiver
methodName
block
unit
args
private org.jruby.RubyObject getReceiverObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/jruby/RubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.container:Lorg/jruby/embed/ScriptingContainer;
invokevirtual org.jruby.embed.ScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
ifnull 2
aload 1
instanceof org.jruby.runtime.builtin.IRubyObject
ifne 3
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
invokevirtual org.jruby.Ruby.getTopSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
areturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyObject
ifeq 4
aload 1
checkcast org.jruby.RubyObject
areturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.runtime.builtin.IRubyObject
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTopSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 5 1 receiver Ljava/lang/Object;
1 5 2 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
receiver
private org.jruby.runtime.builtin.IRubyObject callEachType(org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.Block, java.lang.Object[]);
descriptor: (Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/Block;[Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 6
start local 6 1: aconst_null
astore 7
start local 7 2: aload 5
ifnull 11
aload 5
arraylength
ifle 11
3: aload 6
aload 5
invokestatic org.jruby.javasupport.JavaUtil.convertJavaArrayToRuby:(Lorg/jruby/Ruby;[Ljava/lang/Object;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
4: iconst_0
istore 8
start local 8 5: goto 10
6: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 7
iload 8
aaload
astore 9
start local 9 7: aload 9
instanceof org.jruby.javasupport.JavaObject
ifeq 9
8: aload 7
iload 8
aload 6
aload 9
invokestatic org.jruby.javasupport.Java.wrap:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
end local 9 9: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
10: iload 8
aload 7
arraylength
if_icmplt 6
end local 8 11: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 8
start local 8 12: invokestatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.$SWITCH_TABLE$org$jruby$embed$internal$EmbedRubyObjectAdapterImpl$MethodType:()[I
aload 1
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 13
2: 14
3: 15
4: 16
5: 17
default: 18
}
13: StackMap locals: org.jruby.runtime.ThreadContext
StackMap stack:
aload 8
aload 2
aload 3
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
14: StackMap locals:
StackMap stack:
aload 8
aload 2
aload 3
aload 7
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
15: StackMap locals:
StackMap stack:
aload 8
aload 2
aload 3
aload 7
aload 4
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
16: StackMap locals:
StackMap stack:
aload 8
aload 2
aload 7
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.runtime.Helpers.invokeSuper:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
17: StackMap locals:
StackMap stack:
aload 8
aload 2
aload 7
aload 4
invokestatic org.jruby.runtime.Helpers.invokeSuper:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
18: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl;
0 19 1 type Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
0 19 2 rubyReceiver Lorg/jruby/runtime/builtin/IRubyObject;
0 19 3 methodName Ljava/lang/String;
0 19 4 block Lorg/jruby/runtime/Block;
0 19 5 args [Ljava/lang/Object;
1 19 6 runtime Lorg/jruby/Ruby;
2 19 7 rubyArgs [Lorg/jruby/runtime/builtin/IRubyObject;
5 11 8 i I
7 9 9 obj Lorg/jruby/runtime/builtin/IRubyObject;
12 19 8 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
type
rubyReceiver
methodName
block
args
static int[] $SWITCH_TABLE$org$jruby$embed$internal$EmbedRubyObjectAdapterImpl$MethodType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.$SWITCH_TABLE$org$jruby$embed$internal$EmbedRubyObjectAdapterImpl$MethodType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.values:()[Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_NOARG:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLMETHOD_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLSUPER:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.CALLSUPER_WITHBLOCK:Lorg/jruby/embed/internal/EmbedRubyObjectAdapterImpl$MethodType;
invokevirtual org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.$SWITCH_TABLE$org$jruby$embed$internal$EmbedRubyObjectAdapterImpl$MethodType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "EmbedRubyObjectAdapterImpl.java"
NestMembers:
org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType
InnerClasses:
public final MethodType = org.jruby.embed.internal.EmbedRubyObjectAdapterImpl$MethodType of org.jruby.embed.internal.EmbedRubyObjectAdapterImpl