class org.jruby.java.proxies.JavaInterfaceTemplate$4 implements org.jruby.runtime.ObjectAllocator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.java.proxies.JavaInterfaceTemplate$4
super_class: java.lang.Object
{
private java.lang.reflect.Constructor proxyConstructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.jruby.java.proxies.JavaInterfaceTemplate$4 this
0: .line 263
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.java.proxies.JavaInterfaceTemplate$4 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/JavaInterfaceTemplate$4;
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=3, locals=5, args_size=3
start local 0 // org.jruby.java.proxies.JavaInterfaceTemplate$4 this
start local 1 // org.jruby.Ruby runtime
start local 2 // org.jruby.RubyClass klazz
0: .line 268
aload 2 /* klazz */
invokevirtual org.jruby.RubyClass.getReifiedClass:()Ljava/lang/Class;
astore 3 /* reifiedClass */
start local 3 // java.lang.Class reifiedClass
1: .line 269
aload 0 /* this */
getfield org.jruby.java.proxies.JavaInterfaceTemplate$4.proxyConstructor:Ljava/lang/reflect/Constructor;
ifnull 2
aload 0 /* this */
getfield org.jruby.java.proxies.JavaInterfaceTemplate$4.proxyConstructor:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
aload 3 /* reifiedClass */
if_acmpeq 5
2: .line 270
StackMap locals: java.lang.Class
StackMap stack:
aload 3 /* reifiedClass */
ifnonnull 4
3: .line 271
aload 2 /* klazz */
invokestatic org.jruby.javasupport.Java.generateRealClass:(Lorg/jruby/RubyClass;)Ljava/lang/Class;
astore 3 /* reifiedClass */
4: .line 273
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* runtime */
aload 3 /* reifiedClass */
invokestatic org.jruby.javasupport.Java.getRealClassConstructor:(Lorg/jruby/Ruby;Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
putfield org.jruby.java.proxies.JavaInterfaceTemplate$4.proxyConstructor:Ljava/lang/reflect/Constructor;
5: .line 275
StackMap locals:
StackMap stack:
aload 1 /* runtime */
aload 0 /* this */
getfield org.jruby.java.proxies.JavaInterfaceTemplate$4.proxyConstructor:Ljava/lang/reflect/Constructor;
aload 2 /* klazz */
invokestatic org.jruby.javasupport.Java.constructProxy:(Lorg/jruby/Ruby;Ljava/lang/reflect/Constructor;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4 /* newObj */
start local 4 // org.jruby.runtime.builtin.IRubyObject newObj
6: .line 277
aload 4 /* newObj */
areturn
end local 4 // org.jruby.runtime.builtin.IRubyObject newObj
end local 3 // java.lang.Class reifiedClass
end local 2 // org.jruby.RubyClass klazz
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.java.proxies.JavaInterfaceTemplate$4 this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/java/proxies/JavaInterfaceTemplate$4;
0 7 1 runtime Lorg/jruby/Ruby;
0 7 2 klazz Lorg/jruby/RubyClass;
1 7 3 reifiedClass Ljava/lang/Class;
6 7 4 newObj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
klazz
}
SourceFile: "JavaInterfaceTemplate.java"
EnclosingMethod: org.jruby.java.proxies.JavaInterfaceTemplate.addRealImplClassNew:(Lorg/jruby/RubyClass;)V
NestHost: org.jruby.java.proxies.JavaInterfaceTemplate
InnerClasses:
org.jruby.java.proxies.JavaInterfaceTemplate$4