public class org.jruby.internal.runtime.methods.RefinedWrapper extends org.jruby.internal.runtime.methods.DynamicMethod
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.methods.RefinedWrapper
super_class: org.jruby.internal.runtime.methods.DynamicMethod
{
private final org.jruby.internal.runtime.methods.DynamicMethod wrapped;
descriptor: Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.RubyModule, org.jruby.runtime.Visibility, java.lang.String, org.jruby.internal.runtime.methods.DynamicMethod);
descriptor: (Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.internal.runtime.methods.DynamicMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 4
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isRefined:()Z
ifeq 2
new java.lang.RuntimeException
dup
ldc "BLAH"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals: org.jruby.internal.runtime.methods.RefinedWrapper org.jruby.RubyModule org.jruby.runtime.Visibility java.lang.String org.jruby.internal.runtime.methods.DynamicMethod
StackMap stack:
aload 0
aload 4
putfield org.jruby.internal.runtime.methods.RefinedWrapper.wrapped:Lorg/jruby/internal/runtime/methods/DynamicMethod;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/internal/runtime/methods/RefinedWrapper;
0 4 1 implementationClass Lorg/jruby/RubyModule;
0 4 2 visibility Lorg/jruby/runtime/Visibility;
0 4 3 name Ljava/lang/String;
0 4 4 wrapped Lorg/jruby/internal/runtime/methods/DynamicMethod;
MethodParameters:
Name Flags
implementationClass
visibility
name
wrapped
public boolean isRefined();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/RefinedWrapper;
public org.jruby.internal.runtime.methods.DynamicMethod getWrapped();
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.internal.runtime.methods.RefinedWrapper.wrapped:Lorg/jruby/internal/runtime/methods/DynamicMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/RefinedWrapper;
public org.jruby.internal.runtime.methods.DynamicMethod dup();
descriptor: ()Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.jruby.internal.runtime.methods.RefinedWrapper
dup
aload 0
invokevirtual org.jruby.internal.runtime.methods.RefinedWrapper.getImplementationClass:()Lorg/jruby/RubyModule;
aload 0
invokevirtual org.jruby.internal.runtime.methods.RefinedWrapper.getVisibility:()Lorg/jruby/runtime/Visibility;
aload 0
invokevirtual org.jruby.internal.runtime.methods.RefinedWrapper.getName:()Ljava/lang/String;
aload 0
getfield org.jruby.internal.runtime.methods.RefinedWrapper.wrapped:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokespecial org.jruby.internal.runtime.methods.RefinedWrapper.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/RefinedWrapper;
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, 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: new java.lang.RuntimeException
dup
ldc "BUG: refined marker called as method"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)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 1 0 this Lorg/jruby/internal/runtime/methods/RefinedWrapper;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 clazz Lorg/jruby/RubyModule;
0 1 4 name Ljava/lang/String;
0 1 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 6 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
self
clazz
name
args
block
}
SourceFile: "RefinedWrapper.java"