public class org.jruby.java.proxies.ArrayJavaProxyCreator extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.java.proxies.ArrayJavaProxyCreator
super_class: org.jruby.RubyObject
{
private static final int[] EMPTY;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final java.lang.Class<?> elementType;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<*>;
int[] dimensions;
descriptor: [I
flags: (0x0000)
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/java/proxies/ArrayJavaProxyCreator;
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.java.proxies.ArrayJavaProxyCreator.$assertionsDisabled:Z
3: iconst_0
newarray 10
putstatic org.jruby.java.proxies.ArrayJavaProxyCreator.EMPTY:[I
return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.RubyClass createArrayJavaProxyCreator(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 1
ldc "ArrayJavaProxyCreator"
aload 1
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 2: aload 2
ldc Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
1 4 1 runtime Lorg/jruby/Ruby;
2 4 2 arrayJavaProxyCreator Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
context
void <init>(org.jruby.runtime.ThreadContext, org.jruby.javasupport.JavaClass, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/javasupport/JavaClass;[Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokespecial org.jruby.java.proxies.ArrayJavaProxyCreator.<init>:(Lorg/jruby/Ruby;Ljava/lang/Class;)V
1: getstatic org.jruby.java.proxies.ArrayJavaProxyCreator.$assertionsDisabled:Z
ifne 2
aload 3
arraylength
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.jruby.java.proxies.ArrayJavaProxyCreator org.jruby.runtime.ThreadContext org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 0
aload 3
invokevirtual org.jruby.java.proxies.ArrayJavaProxyCreator.aggregateDimensions:([Lorg/jruby/runtime/builtin/IRubyObject;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 elementType Lorg/jruby/javasupport/JavaClass;
0 4 3 sizes [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
elementType
sizes final
private void <init>(org.jruby.Ruby, java.lang.Class<?>);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getArrayJavaProxyCreatorClass:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
getstatic org.jruby.java.proxies.ArrayJavaProxyCreator.EMPTY:[I
putfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
2: aload 0
aload 2
putfield org.jruby.java.proxies.ArrayJavaProxyCreator.elementType:Ljava/lang/Class;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 elementType Ljava/lang/Class<*>;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
runtime final
elementType
public final org.jruby.runtime.builtin.IRubyObject op_aref(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
iconst_1
iconst_m1
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
pop
1: aload 0
aload 2
invokevirtual org.jruby.java.proxies.ArrayJavaProxyCreator.aggregateDimensions:([Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 sizes [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"[]"}, required = 1, rest = true)
MethodParameters:
Name Flags
context
sizes
public final org.jruby.java.proxies.ArrayJavaProxy new_instance(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/java/proxies/ArrayJavaProxy;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxyCreator.elementType:Ljava/lang/Class;
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
invokestatic org.jruby.java.proxies.ArrayJavaProxy.newArray:(Lorg/jruby/Ruby;Ljava/lang/Class;[I)Lorg/jruby/java/proxies/ArrayJavaProxy;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"new", "new_instance"})
MethodParameters:
Name Flags
context
private void aggregateDimensions(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: iload 2
ifne 2
return
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
arraylength
istore 3
start local 3 3: iload 3
iload 2
iadd
newarray 10
astore 4
start local 4 4: iload 3
iconst_1
if_icmpne 5
aload 4
iconst_0
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
iconst_0
iaload
iastore
goto 6
5: StackMap locals: int int[]
StackMap stack:
aload 0
getfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 1
iload 5
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
l2i
istore 6
start local 6 9: aload 4
iload 5
iload 3
iadd
iload 6
iastore
end local 6 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmplt 8
end local 5 12: aload 0
aload 4
putfield org.jruby.java.proxies.ArrayJavaProxyCreator.dimensions:[I
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/java/proxies/ArrayJavaProxyCreator;
0 14 1 sizes [Lorg/jruby/runtime/builtin/IRubyObject;
1 14 2 slen I
3 14 3 dlen I
4 14 4 newDimensions [I
7 12 5 i I
9 10 6 size I
MethodParameters:
Name Flags
sizes final
}
SourceFile: "ArrayJavaProxyCreator.java"