public class org.jruby.runtime.callsite.RespondToCallSite extends org.jruby.runtime.callsite.MonomorphicCallSite
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.callsite.RespondToCallSite
super_class: org.jruby.runtime.callsite.MonomorphicCallSite
{
private volatile org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple respondToTuple;
descriptor: Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.String respondToName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jruby.RubySymbol respondToNameSym;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "respond_to?"
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.<init>:(Ljava/lang/String;)V
1: aload 0
getstatic org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.NULL_CACHE:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
2: aload 0
aconst_null
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToName:Ljava/lang/String;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "respond_to?"
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.<init>:(Ljava/lang/String;)V
1: aload 0
getstatic org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.NULL_CACHE:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
2: aload 0
aload 1
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 5
start local 5 1: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 6
start local 6 2: aload 6
aload 5
invokevirtual org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.cacheOk:(Lorg/jruby/RubyClass;)Z
ifeq 5
3: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 7
start local 7 4: aload 7
aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.checkVisibility:Z
ifeq 5
aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 5: StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 6 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 6 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 6 4 name Lorg/jruby/runtime/builtin/IRubyObject;
1 6 5 klass Lorg/jruby/RubyClass;
2 6 6 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
4 5 7 strName Ljava/lang/String;
MethodParameters:
Name Flags
context
caller
self
name
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 6
start local 6 1: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 7
start local 7 2: aload 7
aload 6
invokevirtual org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.cacheOk:(Lorg/jruby/RubyClass;)Z
ifeq 7
3: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 8
start local 8 4: aload 8
aload 7
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 5
iconst_0
goto 6
StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple java.lang.String
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: aload 7
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.checkVisibility:Z
if_icmpne 7
aload 7
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 8 7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 8 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 8 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 8 4 name Lorg/jruby/runtime/builtin/IRubyObject;
0 8 5 bool Lorg/jruby/runtime/builtin/IRubyObject;
1 8 6 klass Lorg/jruby/RubyClass;
2 8 7 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
4 7 8 strName Ljava/lang/String;
MethodParameters:
Name Flags
context
caller
self
name
bool
public boolean respondsTo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 4
start local 4 1: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 5
start local 5 2: aload 5
aload 4
invokevirtual org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.cacheOk:(Lorg/jruby/RubyClass;)Z
ifeq 5
3: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToName:Ljava/lang/String;
astore 6
start local 6 4: aload 6
aload 5
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 5
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.checkVisibility:Z
ifeq 5
aload 5
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsToBoolean:Z
ireturn
end local 6 5: StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 0
aload 1
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.getRespondToNameSym:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubySymbol;
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
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 6 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 6 3 self Lorg/jruby/runtime/builtin/IRubyObject;
1 6 4 klass Lorg/jruby/RubyClass;
2 6 5 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
4 5 6 strName Ljava/lang/String;
MethodParameters:
Name Flags
context
caller
self
public boolean respondsTo(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 5
start local 5 1: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 6
start local 6 2: aload 6
aload 5
invokevirtual org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.cacheOk:(Lorg/jruby/RubyClass;)Z
ifeq 7
3: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToName:Ljava/lang/String;
astore 7
start local 7 4: aload 7
aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
iload 4
ifeq 5
iconst_0
goto 6
StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple java.lang.String
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.checkVisibility:Z
if_icmpne 7
aload 6
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsToBoolean:Z
ireturn
end local 7 7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 0
aload 1
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.getRespondToNameSym:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubySymbol;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iload 4
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
invokespecial org.jruby.runtime.callsite.MonomorphicCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ireturn
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 8 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 8 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 8 4 includePrivate Z
1 8 5 klass Lorg/jruby/RubyClass;
2 8 6 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
4 7 7 strName Ljava/lang/String;
MethodParameters:
Name Flags
context
caller
self
includePrivate
private org.jruby.RubySymbol getRespondToNameSym(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToNameSym:Lorg/jruby/RubySymbol;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.respondToName:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
dup
astore 2
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToNameSym:Lorg/jruby/RubySymbol;
3: StackMap locals: org.jruby.RubySymbol
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 sym Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
context
protected org.jruby.runtime.builtin.IRubyObject cacheAndCall(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, 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
aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.methodName:Ljava/lang/String;
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 6
start local 6 1: aload 6
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
astore 7
start local 7 2: aload 0
aload 7
aload 1
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.methodMissing:(Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 4
3: aload 0
aload 3
aload 4
aload 2
aload 7
aload 5
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.callMethodMissing:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.runtime.callsite.CacheEntry org.jruby.internal.runtime.methods.DynamicMethod
StackMap stack:
aload 7
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isBuiltin:()Z
ifeq 11
5: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 8
start local 8 6: aload 6
aload 8
aload 2
iconst_1
aload 3
invokestatic org.jruby.runtime.callsite.RespondToCallSite.recacheRespondsTo:(Lorg/jruby/runtime/callsite/CacheEntry;Ljava/lang/String;Lorg/jruby/RubyClass;ZLorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 9
start local 9 7: aload 9
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 9
8: aload 2
ldc "respond_to_missing?"
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
aload 3
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRespondToMissingMethod:()Lorg/jruby/internal/runtime/methods/DynamicMethod;
if_acmpne 11
9: StackMap locals: java.lang.String org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
StackMap stack:
aload 0
aload 9
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
10: aload 9
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 9 end local 8 11: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 4
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.setCache:(Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 6
12: aload 7
aload 3
aload 4
aload 6
getfield org.jruby.runtime.callsite.CacheEntry.sourceModule:Lorg/jruby/RubyModule;
aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.methodName:Ljava/lang/String;
aload 5
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 13 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 13 1 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 13 2 selfType Lorg/jruby/RubyClass;
0 13 3 context Lorg/jruby/runtime/ThreadContext;
0 13 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 13 5 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 13 6 entry Lorg/jruby/runtime/callsite/CacheEntry;
2 13 7 method Lorg/jruby/internal/runtime/methods/DynamicMethod;
6 11 8 name Ljava/lang/String;
7 11 9 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
MethodParameters:
Name Flags
caller
selfType
context
self
arg
protected org.jruby.runtime.builtin.IRubyObject cacheAndCall(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, 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 2
aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.methodName:Ljava/lang/String;
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 7
start local 7 1: aload 7
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
astore 8
start local 8 2: aload 0
aload 8
aload 1
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.methodMissing:(Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 4
3: aload 0
aload 3
aload 4
aload 2
aload 8
aload 5
aload 6
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.callMethodMissing:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals: org.jruby.runtime.callsite.CacheEntry org.jruby.internal.runtime.methods.DynamicMethod
StackMap stack:
aload 8
aload 3
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRespondToMethod:()Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
5: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 9
start local 9 6: aload 7
aload 9
aload 2
aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 7
iconst_0
goto 8
StackMap locals: org.jruby.runtime.callsite.RespondToCallSite org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.callsite.CacheEntry org.jruby.internal.runtime.methods.DynamicMethod java.lang.String
StackMap stack: org.jruby.runtime.callsite.CacheEntry java.lang.String org.jruby.RubyClass
7: iconst_1
StackMap locals: org.jruby.runtime.callsite.RespondToCallSite org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.callsite.CacheEntry org.jruby.internal.runtime.methods.DynamicMethod java.lang.String
StackMap stack: org.jruby.runtime.callsite.CacheEntry java.lang.String org.jruby.RubyClass int
8: aload 3
invokestatic org.jruby.runtime.callsite.RespondToCallSite.recacheRespondsTo:(Lorg/jruby/runtime/callsite/CacheEntry;Ljava/lang/String;Lorg/jruby/RubyClass;ZLorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
astore 10
start local 10 9: aload 10
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 11
10: aload 2
ldc "respond_to_missing?"
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
aload 3
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRespondToMissingMethod:()Lorg/jruby/internal/runtime/methods/DynamicMethod;
if_acmpne 13
11: StackMap locals: org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
StackMap stack:
aload 0
aload 10
putfield org.jruby.runtime.callsite.RespondToCallSite.respondToTuple:Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
12: aload 10
getfield org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.respondsTo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 10 end local 9 13: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 4
invokevirtual org.jruby.runtime.callsite.RespondToCallSite.setCache:(Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 7
14: aload 8
aload 3
aload 4
aload 7
getfield org.jruby.runtime.callsite.CacheEntry.sourceModule:Lorg/jruby/RubyModule;
aload 0
getfield org.jruby.runtime.callsite.RespondToCallSite.methodName:Ljava/lang/String;
aload 5
aload 6
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
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 15 0 this Lorg/jruby/runtime/callsite/RespondToCallSite;
0 15 1 caller Lorg/jruby/runtime/builtin/IRubyObject;
0 15 2 selfType Lorg/jruby/RubyClass;
0 15 3 context Lorg/jruby/runtime/ThreadContext;
0 15 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 15 5 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 15 6 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
1 15 7 entry Lorg/jruby/runtime/callsite/CacheEntry;
2 15 8 method Lorg/jruby/internal/runtime/methods/DynamicMethod;
6 13 9 name Ljava/lang/String;
9 13 10 tuple Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
MethodParameters:
Name Flags
caller
selfType
context
self
arg0
arg1
private static org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple recacheRespondsTo(org.jruby.runtime.callsite.CacheEntry, java.lang.String, org.jruby.RubyClass, boolean, org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/callsite/CacheEntry;Ljava/lang/String;Lorg/jruby/RubyClass;ZLorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/callsite/RespondToCallSite$RespondToTuple;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 1
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 5
start local 5 1: aload 5
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
iload 3
invokestatic org.jruby.runtime.Helpers.respondsToMethod:(Lorg/jruby/internal/runtime/methods/DynamicMethod;Z)Z
istore 6
start local 6 2: new org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
dup
aload 1
iload 3
aload 0
aload 5
aload 4
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iload 6
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
invokespecial org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple.<init>:(Ljava/lang/String;ZLorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
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 3 0 respondToMethod Lorg/jruby/runtime/callsite/CacheEntry;
0 3 1 newString Ljava/lang/String;
0 3 2 klass Lorg/jruby/RubyClass;
0 3 3 checkVisibility Z
0 3 4 context Lorg/jruby/runtime/ThreadContext;
1 3 5 respondToLookupResult Lorg/jruby/runtime/callsite/CacheEntry;
2 3 6 respondsTo Z
MethodParameters:
Name Flags
respondToMethod
newString
klass
checkVisibility
context
}
SourceFile: "RespondToCallSite.java"
NestMembers:
org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple
InnerClasses:
private RespondToTuple = org.jruby.runtime.callsite.RespondToCallSite$RespondToTuple of org.jruby.runtime.callsite.RespondToCallSite