public class org.jruby.javasupport.ext.JavaLang$Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.ext.JavaLang$Runnable
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/ext/JavaLang$Runnable;
static org.jruby.RubyModule define(org.jruby.Ruby, org.jruby.RubyModule);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/jruby/javasupport/ext/JavaLang$Runnable;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime final
proxy final
public static org.jruby.runtime.builtin.IRubyObject to_proc(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
invokestatic org.jruby.javasupport.JavaUtil.unwrapIfJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
checkcast java.lang.Runnable
astore 3
start local 3 2: new org.jruby.runtime.Block
dup
new org.jruby.javasupport.ext.JavaLang$Runnable$RunBody
dup
aload 2
aload 3
invokespecial org.jruby.javasupport.ext.JavaLang$Runnable$RunBody.<init>:(Lorg/jruby/Ruby;Ljava/lang/Runnable;)V
invokespecial org.jruby.runtime.Block.<init>:(Lorg/jruby/runtime/BlockBody;)V
astore 4
start local 4 3: new org.jruby.RubyProc
dup
aload 2
aload 2
invokevirtual org.jruby.Ruby.getProc:()Lorg/jruby/RubyClass;
aload 4
aconst_null
iconst_m1
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block;Ljava/lang/String;I)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 runtime Lorg/jruby/Ruby;
2 4 3 runnable Ljava/lang/Runnable;
3 4 4 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context final
self final
}
SourceFile: "JavaLang.java"
NestHost: org.jruby.javasupport.ext.JavaLang
InnerClasses:
public Runnable = org.jruby.javasupport.ext.JavaLang$Runnable of org.jruby.javasupport.ext.JavaLang
private final RunBody = org.jruby.javasupport.ext.JavaLang$Runnable$RunBody of org.jruby.javasupport.ext.JavaLang$Runnable
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"Java::JavaLang::Runnable"})