class org.jruby.RubyClass$5 implements org.jruby.runtime.ObjectAllocator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyClass$5
super_class: java.lang.Object
{
final org.jruby.RubyClass this$0;
descriptor: Lorg/jruby/RubyClass;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.reflect.Method val$method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Class val$clazz;
descriptor: Ljava/lang/Class;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.RubyClass, java.lang.reflect.Method, java.lang.Class);
descriptor: (Lorg/jruby/RubyClass;Ljava/lang/reflect/Method;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyClass$5.this$0:Lorg/jruby/RubyClass;
aload 0
aload 2
putfield org.jruby.RubyClass$5.val$method:Ljava/lang/reflect/Method;
aload 0
aload 3
putfield org.jruby.RubyClass$5.val$clazz:Ljava/lang/Class;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyClass$5;
MethodParameters:
Name Flags
this$0 final
val$method final
val$clazz final
public org.jruby.runtime.builtin.IRubyObject allocate(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyClass$5.val$method:Ljava/lang/reflect/Method;
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
1: areturn
2: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 3: aload 1
new java.lang.StringBuilder
dup
ldc "could not allocate "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.RubyClass$5.val$clazz:Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with (Ruby, RubyClass) constructor:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 4: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 3
start local 3 5: aload 1
new java.lang.StringBuilder
dup
ldc "could not allocate "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.RubyClass$5.val$clazz:Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " due to inaccessible (Ruby, RubyClass) constructor:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSecurityError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubyClass$5;
0 6 1 runtime Lorg/jruby/Ruby;
0 6 2 klazz Lorg/jruby/RubyClass;
3 4 3 ite Ljava/lang/reflect/InvocationTargetException;
5 6 3 iae Ljava/lang/IllegalAccessException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 4 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
runtime
klazz
}
SourceFile: "RubyClass.java"
EnclosingMethod: org.jruby.RubyClass.setRubyStaticAllocator:(Ljava/lang/Class;)V
NestHost: org.jruby.RubyClass
InnerClasses:
org.jruby.RubyClass$5