final class org.jruby.javasupport.binding.ClassInitializer extends org.jruby.javasupport.binding.Initializer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.javasupport.binding.ClassInitializer
super_class: org.jruby.javasupport.binding.Initializer
{
void <init>(org.jruby.Ruby, java.lang.Class<?>);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;)V
flags: (0x0000)
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.javasupport.binding.Initializer.<init>:(Lorg/jruby/Ruby;Ljava/lang/Class;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/binding/ClassInitializer;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 javaClass Ljava/lang/Class<*>;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
runtime
javaClass
public org.jruby.RubyClass initialize(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyClass
astore 2
start local 2 1: aload 1
iconst_1
invokevirtual org.jruby.RubyModule.setJavaProxy:(Z)V
2: aload 1
invokevirtual org.jruby.RubyModule.getSingletonClass:()Lorg/jruby/RubyClass;
iconst_1
invokevirtual org.jruby.RubyClass.setJavaProxy:(Z)V
3: aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getEnclosingClass:()Ljava/lang/Class;
astore 4
start local 4 4: aload 4
ifnull 7
5: aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.runtime:Lorg/jruby/Ruby;
aload 4
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/RubyModule;
astore 3
start local 3 6: goto 8
end local 3 7: StackMap locals: org.jruby.javasupport.binding.ClassInitializer org.jruby.RubyModule org.jruby.RubyClass top java.lang.Class
StackMap stack:
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokestatic org.jruby.javasupport.Java.getJavaPackageModule:(Lorg/jruby/Ruby;Ljava/lang/Package;)Lorg/jruby/RubyModule;
astore 3
start local 3 8: StackMap locals: org.jruby.javasupport.binding.ClassInitializer org.jruby.RubyModule org.jruby.RubyClass org.jruby.RubyModule java.lang.Class
StackMap stack:
aload 1
aload 3
invokevirtual org.jruby.RubyModule.setParent:(Lorg/jruby/RubyModule;)V
9: aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.isMemberClass:()Z
ifeq 12
10: aload 1
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual org.jruby.RubyModule.setBaseName:(Ljava/lang/String;)V
11: goto 23
12: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 5
start local 5 13: aload 4
ifnull 22
14: aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 6
start local 6 15: aload 6
invokevirtual java.lang.String.length:()I
istore 7
start local 7 16: aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 8
start local 8 17: iload 7
iload 8
if_icmple 20
aload 6
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 36
if_icmpeq 20
18: aload 6
iload 8
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
19: goto 22
20: StackMap locals: org.jruby.javasupport.binding.ClassInitializer org.jruby.RubyModule org.jruby.RubyClass org.jruby.RubyModule java.lang.Class java.lang.String java.lang.String int int
StackMap stack:
iload 7
iload 8
iconst_1
iadd
if_icmple 22
21: aload 6
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
end local 8 end local 7 end local 6 22: StackMap locals:
StackMap stack:
aload 1
aload 5
invokevirtual org.jruby.RubyModule.setBaseName:(Ljava/lang/String;)V
end local 5 23: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
pop
24: new org.jruby.javasupport.binding.MethodGatherer
dup
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokespecial org.jruby.javasupport.binding.MethodGatherer.<init>:(Lorg/jruby/Ruby;Ljava/lang/Class;)V
astore 5
start local 5 25: aload 5
aload 0
getfield org.jruby.javasupport.binding.ClassInitializer.javaClass:Ljava/lang/Class;
aload 1
invokevirtual org.jruby.javasupport.binding.MethodGatherer.initialize:(Ljava/lang/Class;Lorg/jruby/RubyModule;)V
26: aload 2
areturn
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 27 0 this Lorg/jruby/javasupport/binding/ClassInitializer;
0 27 1 proxy Lorg/jruby/RubyModule;
1 27 2 proxyClass Lorg/jruby/RubyClass;
6 7 3 parent Lorg/jruby/RubyModule;
8 27 3 parent Lorg/jruby/RubyModule;
4 27 4 enclosingClass Ljava/lang/Class<*>;
13 23 5 baseName Ljava/lang/String;
15 22 6 className Ljava/lang/String;
16 22 7 length I
17 22 8 offset I
25 27 5 state Lorg/jruby/javasupport/binding/MethodGatherer;
MethodParameters:
Name Flags
proxy final
public org.jruby.RubyModule initialize(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.jruby.javasupport.binding.ClassInitializer.initialize:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ClassInitializer.java"