public abstract class org.jruby.javasupport.binding.Initializer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.javasupport.binding.Initializer
super_class: java.lang.Object
{
static final org.jruby.util.log.Logger LOG;
descriptor: Lorg/jruby/util/log/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.javasupport.JavaSupport javaSupport;
descriptor: Lorg/jruby/javasupport/JavaSupport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Class javaClass;
descriptor: Ljava/lang/Class;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public static final java.lang.ClassValue<java.lang.reflect.Method[]> DECLARED_METHODS;
descriptor: Ljava/lang/ClassValue;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ClassValue<[Ljava/lang/reflect/Method;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/javasupport/binding/Initializer;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.javasupport.binding.Initializer.$assertionsDisabled:Z
3: ldc Lorg/jruby/javasupport/binding/Initializer;
invokestatic org.jruby.util.log.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/jruby/util/log/Logger;
putstatic org.jruby.javasupport.binding.Initializer.LOG:Lorg/jruby/util/log/Logger;
4: getstatic org.jruby.javasupport.binding.MethodGatherer.DECLARED_METHODS:Ljava/lang/ClassValue;
putstatic org.jruby.javasupport.binding.Initializer.DECLARED_METHODS:Ljava/lang/ClassValue;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, java.lang.Class);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.javasupport.binding.Initializer.runtime:Lorg/jruby/Ruby;
2: aload 0
aload 1
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
putfield org.jruby.javasupport.binding.Initializer.javaSupport:Lorg/jruby/javasupport/JavaSupport;
3: aload 0
aload 2
putfield org.jruby.javasupport.binding.Initializer.javaClass:Ljava/lang/Class;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/binding/Initializer;
0 5 1 runtime Lorg/jruby/Ruby;
0 5 2 javaClass Ljava/lang/Class;
MethodParameters:
Name Flags
runtime
javaClass
public static org.jruby.RubyModule setupProxyClass(org.jruby.Ruby, java.lang.Class<?>, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Lorg/jruby/RubyClass;)Lorg/jruby/RubyModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.jruby.javasupport.binding.Initializer.setJavaClassFor:(Ljava/lang/Class;Lorg/jruby/RubyModule;)V
1: aload 2
aload 1
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
2: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 4
3: aload 2
invokestatic org.jruby.javasupport.binding.Initializer.flagAsJavaProxy:(Lorg/jruby/RubyModule;)V
aload 2
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 11
5: aload 2
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
astore 3
start local 3 6: aload 3
ldc "new"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
7: aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 10
8: aload 3
ldc "[]"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
9: aload 3
ldc "new_array"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
10: StackMap locals: org.jruby.RubyClass
StackMap stack:
aload 2
invokestatic org.jruby.javasupport.binding.Initializer.flagAsJavaProxy:(Lorg/jruby/RubyModule;)V
aload 2
areturn
end local 3 11: StackMap locals:
StackMap stack:
new org.jruby.javasupport.binding.ClassInitializer
dup
aload 0
aload 1
invokespecial org.jruby.javasupport.binding.ClassInitializer.<init>:(Lorg/jruby/Ruby;Ljava/lang/Class;)V
aload 2
invokevirtual org.jruby.javasupport.binding.ClassInitializer.initialize:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
astore 2
12: aload 2
invokestatic org.jruby.javasupport.binding.Initializer.flagAsJavaProxy:(Lorg/jruby/RubyModule;)V
aload 2
areturn
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 javaClass Ljava/lang/Class<*>;
0 13 2 proxy Lorg/jruby/RubyClass;
6 11 3 proxySingleton Lorg/jruby/RubyClass;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Lorg/jruby/RubyClass;)Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
javaClass final
proxy
public static org.jruby.RubyModule setupProxyModule(org.jruby.Ruby, java.lang.Class<?>, org.jruby.RubyModule);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.jruby.javasupport.binding.Initializer.setJavaClassFor:(Ljava/lang/Class;Lorg/jruby/RubyModule;)V
1: getstatic org.jruby.javasupport.binding.Initializer.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new org.jruby.javasupport.binding.InterfaceInitializer
dup
aload 0
aload 1
invokespecial org.jruby.javasupport.binding.InterfaceInitializer.<init>:(Lorg/jruby/Ruby;Ljava/lang/Class;)V
aload 2
invokevirtual org.jruby.javasupport.binding.InterfaceInitializer.initialize:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
astore 2
3: aload 2
invokestatic org.jruby.javasupport.binding.Initializer.flagAsJavaProxy:(Lorg/jruby/RubyModule;)V
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 javaClass Ljava/lang/Class<*>;
0 4 2 proxy Lorg/jruby/RubyModule;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
javaClass final
proxy
private static void flagAsJavaProxy(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.jruby.RubyModule.setJavaProxy:(Z)V
1: aload 0
invokevirtual org.jruby.RubyModule.getSingletonClass:()Lorg/jruby/RubyClass;
iconst_1
invokevirtual org.jruby.RubyClass.setJavaProxy:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
proxy final
private static void setJavaClassFor(java.lang.Class<?>, org.jruby.RubyModule);
descriptor: (Ljava/lang/Class;Lorg/jruby/RubyModule;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "@java_class"
aload 1
invokevirtual org.jruby.RubyModule.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
aload 0
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassFromCache:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
invokevirtual org.jruby.RubyModule.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 1
aload 0
invokevirtual org.jruby.RubyModule.dataWrapStruct:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 javaClass Ljava/lang/Class<*>;
0 3 1 proxy Lorg/jruby/RubyModule;
Signature: (Ljava/lang/Class<*>;Lorg/jruby/RubyModule;)V
MethodParameters:
Name Flags
javaClass final
proxy final
public abstract org.jruby.RubyModule initialize(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
proxy
}
SourceFile: "Initializer.java"