public abstract class org.jruby.AbstractRubyMethod extends org.jruby.RubyObject implements org.jruby.runtime.marshal.DataType
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.AbstractRubyMethod
super_class: org.jruby.RubyObject
{
protected org.jruby.RubyModule implementationModule;
descriptor: Lorg/jruby/RubyModule;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.RubyModule originModule;
descriptor: Lorg/jruby/RubyModule;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String originName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.runtime.callsite.CacheEntry entry;
descriptor: Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.internal.runtime.methods.DynamicMethod method;
descriptor: Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.RubyModule sourceModule;
descriptor: Lorg/jruby/RubyModule;
flags: (0x0004) ACC_PROTECTED
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/AbstractRubyMethod;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
public org.jruby.internal.runtime.methods.DynamicMethod getMethod();
descriptor: ()Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
public org.jruby.RubyFixnum arity();
descriptor: ()Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
instanceof org.jruby.internal.runtime.methods.IRMethodArgs
ifeq 3
1: aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
checkcast org.jruby.internal.runtime.methods.IRMethodArgs
invokeinterface org.jruby.internal.runtime.methods.IRMethodArgs.getSignature:()Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arityValue:()I
istore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.getArity:()Lorg/jruby/runtime/Arity;
invokevirtual org.jruby.runtime.Arity.getValue:()I
istore 1
start local 1 4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jruby.AbstractRubyMethod.getRuntime:()Lorg/jruby/Ruby;
iload 1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/AbstractRubyMethod;
2 3 1 value I
4 5 1 value I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"arity"})
public final org.jruby.runtime.builtin.IRubyObject op_eql19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.AbstractRubyMethod.op_eql:(Lorg/jruby/runtime/ThreadContext;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/AbstractRubyMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject op_eql(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;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 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
invokevirtual org.jruby.AbstractRubyMethod.equals:(Ljava/lang/Object;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eql?"}, required = 1)
MethodParameters:
Name Flags
context
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/AbstractRubyMethod;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public abstract org.jruby.AbstractRubyMethod rbClone();
descriptor: ()Lorg/jruby/AbstractRubyMethod;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public org.jruby.runtime.builtin.IRubyObject name(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)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 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.AbstractRubyMethod.methodName:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"name"})
MethodParameters:
Name Flags
context
public java.lang.String getMethodName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.AbstractRubyMethod.methodName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
public org.jruby.runtime.builtin.IRubyObject owner(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.AbstractRubyMethod.implementationModule:Lorg/jruby/RubyModule;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"owner"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject source_location(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
invokevirtual org.jruby.AbstractRubyMethod.getFilename:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
aload 2
aload 3
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
aload 0
invokevirtual org.jruby.AbstractRubyMethod.getLine:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
4: StackMap locals: org.jruby.Ruby java.lang.String
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil: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 5 0 this Lorg/jruby/AbstractRubyMethod;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
1 5 2 runtime Lorg/jruby/Ruby;
2 5 3 filename Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"source_location"})
MethodParameters:
Name Flags
context
public java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.getRealMethod:()Lorg/jruby/internal/runtime/methods/DynamicMethod;
astore 1
start local 1 1: aload 1
instanceof org.jruby.runtime.PositionAware
ifeq 4
2: aload 1
checkcast org.jruby.runtime.PositionAware
astore 2
start local 2 3: aload 2
invokeinterface org.jruby.runtime.PositionAware.getFile:()Ljava/lang/String;
areturn
end local 2 4: StackMap locals: org.jruby.internal.runtime.methods.DynamicMethod
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/AbstractRubyMethod;
1 5 1 realMethod Lorg/jruby/internal/runtime/methods/DynamicMethod;
3 4 2 poser Lorg/jruby/runtime/PositionAware;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.getRealMethod:()Lorg/jruby/internal/runtime/methods/DynamicMethod;
astore 1
start local 1 1: aload 1
instanceof org.jruby.runtime.PositionAware
ifeq 4
2: aload 1
checkcast org.jruby.runtime.PositionAware
astore 2
start local 2 3: aload 2
invokeinterface org.jruby.runtime.PositionAware.getLine:()I
iconst_1
iadd
ireturn
end local 2 4: StackMap locals: org.jruby.internal.runtime.methods.DynamicMethod
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/AbstractRubyMethod;
1 5 1 realMethod Lorg/jruby/internal/runtime/methods/DynamicMethod;
3 4 2 poser Lorg/jruby/runtime/PositionAware;
public org.jruby.runtime.builtin.IRubyObject parameters(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)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 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokestatic org.jruby.runtime.Helpers.methodToParameters:(Lorg/jruby/Ruby;Lorg/jruby/AbstractRubyMethod;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/AbstractRubyMethod;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"parameters"})
MethodParameters:
Name Flags
context
protected org.jruby.runtime.builtin.IRubyObject super_method(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield org.jruby.AbstractRubyMethod.methodName:Ljava/lang/String;
invokevirtual org.jruby.RubyModule.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 4
start local 4 2: aload 4
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
getstatic org.jruby.internal.runtime.methods.UndefinedMethod.INSTANCE:Lorg/jruby/internal/runtime/methods/UndefinedMethod;
if_acmpne 3
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: org.jruby.runtime.callsite.CacheEntry
StackMap stack:
aload 2
ifnonnull 5
4: aload 3
aload 0
getfield org.jruby.AbstractRubyMethod.methodName:Ljava/lang/String;
aload 3
aload 0
getfield org.jruby.AbstractRubyMethod.originName:Ljava/lang/String;
aload 4
invokestatic org.jruby.RubyUnboundMethod.newUnboundMethod:(Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/callsite/CacheEntry;)Lorg/jruby/RubyUnboundMethod;
areturn
5: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield org.jruby.AbstractRubyMethod.methodName:Ljava/lang/String;
aload 3
aload 0
getfield org.jruby.AbstractRubyMethod.originName:Ljava/lang/String;
aload 4
aload 2
invokestatic org.jruby.RubyMethod.newMethod:(Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyMethod;
areturn
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/AbstractRubyMethod;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 6 3 superClass Lorg/jruby/RubyModule;
2 6 4 entry Lorg/jruby/runtime/callsite/CacheEntry;
MethodParameters:
Name Flags
context
receiver
superClass
public org.jruby.runtime.builtin.IRubyObject original_name(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)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.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
instanceof org.jruby.internal.runtime.methods.AliasMethod
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
checkcast org.jruby.internal.runtime.methods.AliasMethod
invokevirtual org.jruby.internal.runtime.methods.AliasMethod.getOldName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.AbstractRubyMethod.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/AbstractRubyMethod;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject rbClone();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.AbstractRubyMethod.rbClone:()Lorg/jruby/AbstractRubyMethod;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AbstractRubyMethod.java"