public final class org.jruby.TopSelfFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.TopSelfFactory
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/TopSelfFactory;
public static org.jruby.runtime.builtin.IRubyObject createTopSelf(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.jruby.TopSelfFactory.createTopSelf:(Lorg/jruby/Ruby;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime final
public static org.jruby.runtime.builtin.IRubyObject createTopSelf(org.jruby.Ruby, boolean);
descriptor: (Lorg/jruby/Ruby;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: new org.jruby.RubyObject
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 2
start local 2 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getSingletonClass:()Lorg/jruby/RubyClass;
astore 3
start local 3 2: aload 3
ldc "to_s"
new org.jruby.TopSelfFactory$1
dup
aload 3
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
ldc "to_s"
aload 0
invokespecial org.jruby.TopSelfFactory$1.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;Lorg/jruby/Ruby;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
3: aload 3
ldc "inspect"
ldc "to_s"
invokevirtual org.jruby.RubyClass.defineAlias:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 3
ldc "include"
new org.jruby.TopSelfFactory$2
dup
aload 3
getstatic org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;
ldc "include"
invokespecial org.jruby.TopSelfFactory$2.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
5: aload 3
ldc "public"
new org.jruby.TopSelfFactory$3
dup
aload 3
getstatic org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;
ldc "public"
invokespecial org.jruby.TopSelfFactory$3.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
6: aload 3
ldc "private"
new org.jruby.TopSelfFactory$4
dup
aload 3
getstatic org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;
ldc "private"
invokespecial org.jruby.TopSelfFactory$4.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
7: iload 1
ifeq 8
aload 3
goto 9
StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass
StackMap stack:
8: aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
StackMap locals:
StackMap stack: org.jruby.RubyClass
9: astore 4
start local 4 10: aload 3
ldc "define_method"
new org.jruby.TopSelfFactory$5
dup
aload 3
getstatic org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;
ldc "define_method"
aload 4
aload 3
invokespecial org.jruby.TopSelfFactory$5.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/RubyClass;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
11: aload 3
ldc "using"
new org.jruby.TopSelfFactory$6
dup
aload 3
getstatic org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;
ldc "using"
invokespecial org.jruby.TopSelfFactory$6.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
12: aload 2
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 runtime Lorg/jruby/Ruby;
0 13 1 wrapper Z
1 13 2 topSelf Lorg/jruby/runtime/builtin/IRubyObject;
2 13 3 singletonClass Lorg/jruby/RubyClass;
10 13 4 klass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime final
wrapper final
private static void warnWrapper(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "main.define_method in the wrapped load is effective only in wrapper module"
invokevirtual org.jruby.common.RubyWarnings.warning:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "TopSelfFactory.java"
NestMembers:
org.jruby.TopSelfFactory$1 org.jruby.TopSelfFactory$2 org.jruby.TopSelfFactory$3 org.jruby.TopSelfFactory$4 org.jruby.TopSelfFactory$5 org.jruby.TopSelfFactory$6
InnerClasses:
org.jruby.TopSelfFactory$1
org.jruby.TopSelfFactory$2
org.jruby.TopSelfFactory$3
org.jruby.TopSelfFactory$4
org.jruby.TopSelfFactory$5
org.jruby.TopSelfFactory$6