public class org.jruby.javasupport.JavaClass extends org.jruby.javasupport.JavaObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.JavaClass
super_class: org.jruby.javasupport.JavaObject
{
public static final java.lang.Class[] EMPTY_CLASS_ARRAY;
descriptor: [Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private org.jruby.RubyArray constructors;
descriptor: Lorg/jruby/RubyArray;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Class
putstatic org.jruby.javasupport.JavaClass.EMPTY_CLASS_ARRAY:[Ljava/lang/Class;
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=4, 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.getJavaClassClass:()Lorg/jruby/RubyClass;
aload 2
invokespecial org.jruby.javasupport.JavaClass.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;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/JavaClass;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 klass Ljava/lang/Class<*>;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
runtime final
klass final
void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.Class<?>);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jruby.javasupport.JavaObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaClass;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 javaClassProxy Lorg/jruby/RubyClass;
0 2 3 klass Ljava/lang/Class<*>;
Signature: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
runtime final
javaClassProxy final
klass final
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.javasupport.JavaClass
ifeq 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getValue:()Ljava/lang/Object;
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.getValue:()Ljava/lang/Object;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
public final org.jruby.RubyModule getProxyModule();
descriptor: ()Lorg/jruby/RubyModule;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/RubyModule;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
public final org.jruby.RubyClass getProxyClass();
descriptor: ()Lorg/jruby/RubyClass;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/RubyModule;
checkcast org.jruby.RubyClass
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
private org.jruby.runtime.builtin.IRubyObject addProxyExtender(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: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "extend_proxy"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "proxy extender must have an extend_proxy method"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/RubyModule;
astore 3
start local 3 3: aload 2
aload 1
ldc "extend_proxy"
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 extender Lorg/jruby/runtime/builtin/IRubyObject;
3 4 3 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
context final
extender final
public org.jruby.runtime.builtin.IRubyObject extend_proxy(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: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.javasupport.JavaClass.addProxyExtender:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaClass;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 extender Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
context final
extender
public static org.jruby.javasupport.JavaClass get(org.jruby.Ruby, java.lang.Class<?>);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
aload 1
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassFromCache:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 klass Ljava/lang/Class<*>;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;)Lorg/jruby/javasupport/JavaClass;
MethodParameters:
Name Flags
runtime final
klass final
public static org.jruby.RubyArray getRubyArray(org.jruby.Ruby, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/RubyArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.toRubyArray:(Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 classes [Ljava/lang/Class;
Signature: (Lorg/jruby/Ruby;[Ljava/lang/Class<*>;)Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
classes
public static org.jruby.RubyArray toRubyArray(org.jruby.Ruby, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/RubyArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
anewarray org.jruby.runtime.builtin.IRubyObject
astore 2
start local 2 1: aload 1
arraylength
istore 3
start local 3 2: goto 4
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
aload 2
iload 3
aload 0
aload 1
iload 3
aaload
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
aastore
4: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifge 3
end local 3 5: aload 0
aload 2
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 classes [Ljava/lang/Class;
1 6 2 javaClasses [Lorg/jruby/runtime/builtin/IRubyObject;
2 5 3 i I
Signature: (Lorg/jruby/Ruby;[Ljava/lang/Class<*>;)Lorg/jruby/RubyArray;
MethodParameters:
Name Flags
runtime final
classes final
public static org.jruby.RubyClass createJavaClassClass(org.jruby.Ruby, org.jruby.RubyModule);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
ldc "JavaObject"
invokevirtual org.jruby.RubyModule.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
invokestatic org.jruby.javasupport.JavaClass.createJavaClassClass:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 Java Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime final
Java final
static org.jruby.RubyClass createJavaClassClass(org.jruby.Ruby, org.jruby.RubyModule, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "JavaClass"
aload 2
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.RubyModule.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 3
start local 3 1: aload 3
aload 0
ldc "Comparable"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 3
ldc Lorg/jruby/javasupport/JavaClass;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: aload 3
invokevirtual org.jruby.RubyClass.getMetaClass:()Lorg/jruby/RubyClass;
ldc "new"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
4: aload 3
invokevirtual org.jruby.RubyClass.getMetaClass:()Lorg/jruby/RubyClass;
ldc "allocate"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 Java Lorg/jruby/RubyModule;
0 6 2 JavaObject Lorg/jruby/RubyClass;
1 6 3 JavaClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime final
Java final
JavaObject final
public final java.lang.Class javaClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getValue:()Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
public static java.lang.Class<?> getJavaClass(org.jruby.runtime.ThreadContext, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.getJavaClassIfProxy:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 proxy Lorg/jruby/RubyModule;
Signature: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
context final
proxy final
public static java.lang.Class<?> getJavaClassIfProxy(org.jruby.runtime.ThreadContext, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.getJavaClassIfProxyImpl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/javasupport/JavaClass;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.jruby.javasupport.JavaClass
StackMap stack:
2: aload 2
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
StackMap locals:
StackMap stack: java.lang.Class
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 proxy Lorg/jruby/RubyModule;
1 4 2 javaClass Lorg/jruby/javasupport/JavaClass;
Signature: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
context final
proxy final
private static org.jruby.javasupport.JavaClass getJavaClassIfProxyImpl(org.jruby.runtime.ThreadContext, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/javasupport/JavaClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.java_class:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
instanceof org.jruby.javasupport.JavaClass
ifeq 2
aload 2
checkcast org.jruby.javasupport.JavaClass
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.jruby.javasupport.JavaClass
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 proxy Lorg/jruby/RubyModule;
1 4 2 java_class Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
proxy final
public static boolean isProxyType(org.jruby.runtime.ThreadContext, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.getJavaClassIfProxyImpl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/javasupport/JavaClass;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
context final
proxy final
public static org.jruby.runtime.builtin.IRubyObject java_class(org.jruby.runtime.ThreadContext, org.jruby.RubyModule);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "@java_class"
invokevirtual org.jruby.RubyModule.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
ifnonnull 6
2: aload 1
ldc "java_class"
invokevirtual org.jruby.RubyModule.respondsTo:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
aload 1
ldc "java_class"
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
4: goto 6
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 type Lorg/jruby/RubyModule;
1 7 2 java_class Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context final
type final
public static org.jruby.javasupport.JavaClass resolveType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyString
ifne 1
aload 1
instanceof org.jruby.RubySymbol
ifeq 6
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 2: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getNameClassMap:()Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.javasupport.JavaClass
astore 4
start local 4 4: aload 4
ifnonnull 5
aload 2
aload 3
invokestatic org.jruby.javasupport.JavaClass.forNameVerbose:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
astore 4
5: StackMap locals: org.jruby.Ruby java.lang.String org.jruby.javasupport.JavaClass
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.javasupport.JavaClass.resolveClassType:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 type Lorg/jruby/runtime/builtin/IRubyObject;
2 6 2 runtime Lorg/jruby/Ruby;
3 6 3 className Ljava/lang/String;
4 6 4 targetType Lorg/jruby/javasupport/JavaClass;
MethodParameters:
Name Flags
context final
type final
private static org.jruby.javasupport.JavaClass resolveClassType(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.java.proxies.JavaProxy
ifeq 4
1: aload 1
checkcast org.jruby.java.proxies.JavaProxy
invokevirtual org.jruby.java.proxies.JavaProxy.getObject:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
instanceof java.lang.Class
ifeq 3
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
checkcast java.lang.Class
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.javasupport.JavaClass
ifeq 6
5: aload 1
checkcast org.jruby.javasupport.JavaClass
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyModule
ifeq 8
7: aload 0
aload 1
checkcast org.jruby.RubyModule
invokestatic org.jruby.javasupport.JavaClass.getJavaClassIfProxyImpl:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;)Lorg/jruby/javasupport/JavaClass;
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 context Lorg/jruby/runtime/ThreadContext;
0 9 1 type Lorg/jruby/runtime/builtin/IRubyObject;
2 4 2 wrapped Ljava/lang/Object;
MethodParameters:
Name Flags
context final
type final
static boolean isPrimitiveName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.javasupport.JavaUtil.getPrimitiveClass:(Ljava/lang/String;)Ljava/lang/Class;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public static org.jruby.javasupport.JavaClass forNameVerbose(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
bipush 8
if_icmpge 3
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLowerCase:(C)Z
ifeq 3
2: aload 1
invokestatic org.jruby.javasupport.JavaUtil.getPrimitiveClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
3: StackMap locals: java.lang.Class
StackMap stack:
ldc Lorg/jruby/javasupport/JavaClass;
dup
astore 3
monitorenter
4: aload 2
ifnonnull 6
5: aload 0
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
aload 1
invokevirtual org.jruby.javasupport.JavaSupport.loadJavaClassVerbose:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
6: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
aload 3
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
9: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 runtime Lorg/jruby/Ruby;
0 10 1 className Ljava/lang/String;
1 10 2 klass Ljava/lang/Class<*>;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
runtime
className
public static org.jruby.javasupport.JavaClass forNameQuiet(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: ldc Lorg/jruby/javasupport/JavaClass;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
aload 1
invokevirtual org.jruby.javasupport.JavaSupport.loadJavaClassQuiet:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 2: aload 0
aload 3
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
aload 2
monitorexit
3: areturn
end local 3 4: StackMap locals: org.jruby.Ruby java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 className Ljava/lang/String;
2 4 3 klass Ljava/lang/Class<*>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
runtime
className
public static org.jruby.javasupport.JavaClass for_name(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokestatic org.jruby.javasupport.JavaClass.for_name:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 name Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"for_name"}, required = 1, meta = true)
MethodParameters:
Name Flags
recv
name
static org.jruby.javasupport.JavaClass for_name(org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.forNameVerbose:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
recv
name
public org.jruby.RubyModule ruby_class();
descriptor: ()Lorg/jruby/RubyModule;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.Java.getProxyClass:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/RubyModule;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean public_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"public?"})
public org.jruby.RubyBoolean protected_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isProtected:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"protected?"})
public org.jruby.RubyBoolean private_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPrivate:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"private?"})
public org.jruby.RubyBoolean final_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"final?"})
public org.jruby.RubyBoolean interface_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isInterface:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"interface?"})
public org.jruby.RubyBoolean array_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"array?"})
public org.jruby.RubyBoolean enum_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isEnum:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"enum?"})
public org.jruby.RubyBoolean annotation_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAnnotation:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"annotation?"})
public org.jruby.RubyBoolean anonymous_class_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAnonymousClass:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"anonymous_class?"})
public org.jruby.RubyBoolean local_class_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isLocalClass:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"local_class?"})
public org.jruby.RubyBoolean member_class_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isMemberClass:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"member_class?"})
public org.jruby.runtime.builtin.IRubyObject synthetic_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isSynthetic:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"synthetic?"})
public org.jruby.RubyString name();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"name", "to_s"})
public org.jruby.RubyString inspect();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject canonical_name();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
1 4 1 canonicalName Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject get_package();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"package"})
public org.jruby.runtime.builtin.IRubyObject class_loader();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject protection_domain();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getProtectionDomain:()Ljava/security/ProtectionDomain;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject resource(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 name Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
name
public org.jruby.runtime.builtin.IRubyObject resource_as_stream(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 name Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
name
public org.jruby.runtime.builtin.IRubyObject resource_as_string(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: java.io.InputStream
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 3: sipush 4096
newarray 8
astore 5
start local 5 4: goto 6
start local 4 5: StackMap locals: java.io.ByteArrayOutputStream int byte[]
StackMap stack:
aload 3
aload 5
iconst_0
iload 4
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 4 6: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject java.io.InputStream java.io.ByteArrayOutputStream top byte[]
StackMap stack:
aload 2
aload 5
invokevirtual java.io.InputStream.read:([B)I
dup
istore 4
start local 4 7: ifge 5
end local 5 end local 4 8: goto 16
StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject java.io.InputStream java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
9: astore 4
start local 4 10: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 4
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 4 11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
12: aload 2
invokevirtual java.io.InputStream.close:()V
13: goto 15
StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject java.io.InputStream java.io.ByteArrayOutputStream top top java.lang.Throwable
StackMap stack: java.io.IOException
14: pop
15: StackMap locals:
StackMap stack:
aload 6
athrow
16: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject java.io.InputStream java.io.ByteArrayOutputStream
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
17: goto 19
StackMap locals:
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
new org.jruby.util.ByteList
dup
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jruby/javasupport/JavaClass;
0 20 1 name Lorg/jruby/runtime/builtin/IRubyObject;
1 20 2 in Ljava/io/InputStream;
3 20 3 out Ljava/io/ByteArrayOutputStream;
5 6 4 len I
7 8 4 len I
4 8 5 buf [B
10 11 4 e Ljava/io/IOException;
Exception table:
from to target type
3 8 9 Class java.io.IOException
3 11 11 any
12 13 14 Class java.io.IOException
16 17 18 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
name
public org.jruby.runtime.builtin.IRubyObject annotation(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
instanceof org.jruby.javasupport.JavaClass
ifne 3
2: aload 2
aload 1
aload 2
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 3
start local 3 4: aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaClass;
0 5 1 annoClass Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 runtime Lorg/jruby/Ruby;
4 5 3 annotation Ljava/lang/Class;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
annoClass final
public org.jruby.runtime.builtin.IRubyObject annotations();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean annotations_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getAnnotations:()[Ljava/lang/annotation/Annotation;
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.javasupport.JavaClass
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"annotations?"})
public org.jruby.runtime.builtin.IRubyObject declared_annotations();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean declared_annotations_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.javasupport.JavaClass
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"declared_annotations?"})
public org.jruby.runtime.builtin.IRubyObject annotation_present_p(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
instanceof org.jruby.javasupport.JavaClass
ifne 3
2: aload 2
aload 1
aload 2
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 3
start local 3 4: aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaClass;
0 5 1 annoClass Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 runtime Lorg/jruby/Ruby;
4 5 3 annotation Ljava/lang/Class;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"annotation_present?"}, required = 1)
MethodParameters:
Name Flags
annoClass final
public org.jruby.runtime.builtin.IRubyObject modifiers();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModifiers:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject declaring_class();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaringClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
1 4 1 clazz Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject enclosing_class();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getEnclosingClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject enclosing_constructor();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getEnclosingConstructor:()Ljava/lang/reflect/Constructor;
astore 1
start local 1 1: aload 1
ifnull 3
2: new org.jruby.javasupport.JavaConstructor
dup
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokespecial org.jruby.javasupport.JavaConstructor.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Constructor;)V
areturn
3: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
1 4 1 ctor Ljava/lang/reflect/Constructor<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject enclosing_method();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getEnclosingMethod:()Ljava/lang/reflect/Method;
astore 1
start local 1 1: aload 1
ifnull 3
2: new org.jruby.javasupport.JavaMethod
dup
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
areturn
3: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
1 4 1 meth Ljava/lang/reflect/Method;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject enum_constants();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getEnumConstants:()[Ljava/lang/Object;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject generic_interfaces();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getGenericInterfaces:()[Ljava/lang/reflect/Type;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject generic_superclass();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getGenericSuperclass:()Ljava/lang/reflect/Type;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject type_parameters();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getTypeParameters:()[Ljava/lang/reflect/TypeVariable;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject signers();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSigners:()[Ljava/lang/Object;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public static java.lang.String getSimpleName(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isArray:()Z
ifeq 2
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaClass.getSimpleName:(Ljava/lang/Class;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: aload 1
bipush 36
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpeq 9
6: StackMap locals: java.lang.String int int
StackMap stack:
iinc 3 1
7: iload 3
iload 2
if_icmpge 8
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 6
8: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 1
aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 clazz Ljava/lang/Class<*>;
3 10 1 className Ljava/lang/String;
4 10 2 len I
5 10 3 i I
Signature: (Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
clazz
public org.jruby.RubyString simple_name();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaClass.getSimpleName:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject superclass();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
1 4 1 superclass Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject op_cmp(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
instanceof org.jruby.javasupport.JavaClass
ifeq 5
3: aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 3
4: goto 10
5: StackMap locals: java.lang.Class java.lang.Class
StackMap stack:
aload 1
instanceof org.jruby.java.proxies.ConcreteJavaProxy
ifeq 10
6: aload 1
checkcast org.jruby.java.proxies.ConcreteJavaProxy
astore 4
start local 4 7: aload 4
invokevirtual org.jruby.java.proxies.ConcreteJavaProxy.getObject:()Ljava/lang/Object;
astore 5
start local 5 8: aload 5
instanceof java.lang.Class
ifeq 10
9: aload 5
checkcast java.lang.Class
astore 3
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 3
ifnull 17
11: aload 2
aload 3
if_acmpne 13
12: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
13: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 15
14: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
iconst_m1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
15: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 17
16: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
iconst_1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jruby/javasupport/JavaClass;
0 18 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 18 2 thisClass Ljava/lang/Class<*>;
2 18 3 otherClass Ljava/lang/Class<*>;
7 10 4 proxy Lorg/jruby/java/proxies/ConcreteJavaProxy;
8 10 5 wrapped Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"<=>"}, required = 1)
MethodParameters:
Name Flags
other
public org.jruby.RubyArray java_instance_methods();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
iconst_0
invokevirtual org.jruby.javasupport.JavaClass.toJavaMethods:([Ljava/lang/reflect/Method;Z)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray declared_instance_methods();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
iconst_0
invokevirtual org.jruby.javasupport.JavaClass.toJavaMethods:([Ljava/lang/reflect/Method;Z)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray java_class_methods();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
iconst_1
invokevirtual org.jruby.javasupport.JavaClass.toJavaMethods:([Ljava/lang/reflect/Method;Z)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray declared_class_methods();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
iconst_1
invokevirtual org.jruby.javasupport.JavaClass.toJavaMethods:([Ljava/lang/reflect/Method;Z)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
private org.jruby.RubyArray toJavaMethods(java.lang.reflect.Method[], boolean);
descriptor: ([Ljava/lang/reflect/Method;Z)Lorg/jruby/RubyArray;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
aload 1
arraylength
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 8
4: StackMap locals: org.jruby.Ruby org.jruby.RubyArray int
StackMap stack:
aload 1
iload 5
aaload
astore 6
start local 6 5: iload 2
aload 6
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
if_icmpne 7
6: aload 4
new org.jruby.javasupport.JavaMethod
dup
aload 3
aload 6
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 6 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 1
arraylength
if_icmplt 4
end local 5 9: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/javasupport/JavaClass;
0 10 1 methods [Ljava/lang/reflect/Method;
0 10 2 isStatic Z
1 10 3 runtime Lorg/jruby/Ruby;
2 10 4 result Lorg/jruby/RubyArray;
3 9 5 i I
5 7 6 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
methods final
isStatic final
public org.jruby.javasupport.JavaMethod java_method(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
arraylength
iconst_1
if_icmpge 2
aload 2
aload 1
arraylength
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
aload 1
iconst_1
invokestatic org.jruby.javasupport.JavaClass.getArgumentTypes:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
astore 4
start local 4 4: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
aload 4
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
start local 5 5: new org.jruby.javasupport.JavaMethod
dup
aload 2
aload 5
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
6: areturn
end local 5 end local 4 7: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby java.lang.String
StackMap stack: java.lang.NoSuchMethodException
pop
8: aload 2
aload 2
aload 2
aload 3
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
iconst_0
invokestatic org.jruby.RubyModule.undefinedMethodMessage:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;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 9 0 this Lorg/jruby/javasupport/JavaClass;
0 9 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 9 2 runtime Lorg/jruby/Ruby;
3 9 3 methodName Ljava/lang/String;
4 7 4 argumentTypes [Ljava/lang/Class;
5 7 5 method Ljava/lang/reflect/Method;
Exception table:
from to target type
3 6 7 Class java.lang.NoSuchMethodException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, rest = true)
MethodParameters:
Name Flags
args
public org.jruby.javasupport.JavaMethod declared_method(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
arraylength
iconst_1
if_icmpge 2
aload 2
aload 1
arraylength
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
aload 1
iconst_1
invokestatic org.jruby.javasupport.JavaClass.getArgumentTypes:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
astore 4
start local 4 4: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
aload 4
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 5
start local 5 5: new org.jruby.javasupport.JavaMethod
dup
aload 2
aload 5
invokespecial org.jruby.javasupport.JavaMethod.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Method;)V
6: areturn
end local 5 end local 4 7: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby java.lang.String
StackMap stack: java.lang.NoSuchMethodException
pop
8: aload 2
aload 2
aload 2
aload 3
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
iconst_0
invokestatic org.jruby.RubyModule.undefinedMethodMessage:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;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 9 0 this Lorg/jruby/javasupport/JavaClass;
0 9 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 9 2 runtime Lorg/jruby/Ruby;
3 9 3 methodName Ljava/lang/String;
4 7 4 argumentTypes [Ljava/lang/Class;
5 7 5 method Ljava/lang/reflect/Method;
Exception table:
from to target type
3 6 7 Class java.lang.NoSuchMethodException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, rest = true)
MethodParameters:
Name Flags
args final
public org.jruby.javasupport.JavaCallable declared_method_smart(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaCallable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
arraylength
iconst_1
if_icmpge 2
aload 2
aload 1
arraylength
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
aload 1
iconst_1
invokestatic org.jruby.javasupport.JavaClass.getArgumentTypes:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
astore 4
start local 4 4: aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
aload 4
invokestatic org.jruby.javasupport.JavaClass.getMatchingCallable:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaCallable;
astore 5
start local 5 5: aload 5
ifnull 6
aload 5
areturn
6: StackMap locals: java.lang.String java.lang.Class[] org.jruby.javasupport.JavaCallable
StackMap stack:
aload 2
aload 2
aload 2
aload 3
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jruby.util.RubyStringBuilder.ids:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
iconst_0
invokestatic org.jruby.RubyModule.undefinedMethodMessage:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
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 7 0 this Lorg/jruby/javasupport/JavaClass;
0 7 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 7 2 runtime Lorg/jruby/Ruby;
3 7 3 methodName Ljava/lang/String;
4 7 4 argumentTypes [Ljava/lang/Class;
5 7 5 callable Lorg/jruby/javasupport/JavaCallable;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, rest = true)
MethodParameters:
Name Flags
args final
public static org.jruby.javasupport.JavaCallable getMatchingCallable(org.jruby.Ruby, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaCallable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.String.length:()I
bipush 6
if_icmpne 2
ldc "<init>"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
aload 1
aload 3
invokestatic org.jruby.javasupport.JavaConstructor.getMatchingConstructor:(Lorg/jruby/Ruby;Ljava/lang/Class;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaConstructor;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic org.jruby.javasupport.JavaMethod.getMatchingDeclaredMethod:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Lorg/jruby/javasupport/JavaMethod;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 javaClass Ljava/lang/Class<*>;
0 3 2 methodName Ljava/lang/String;
0 3 3 argumentTypes [Ljava/lang/Class;
Signature: (Lorg/jruby/Ruby;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Lorg/jruby/javasupport/JavaCallable;
MethodParameters:
Name Flags
runtime
javaClass
methodName
argumentTypes
private static java.lang.Class<?>[] getArgumentTypes(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[], int);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
istore 3
start local 3 1: iload 3
iload 2
if_icmpne 2
getstatic org.jruby.javasupport.JavaClass.EMPTY_CLASS_ARRAY:[Ljava/lang/Class;
areturn
2: StackMap locals: int
StackMap stack:
iload 3
iload 2
isub
anewarray java.lang.Class
astore 4
start local 4 3: iload 2
istore 5
start local 5 4: goto 15
5: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 1
iload 5
aaload
astore 6
start local 6 6: aload 6
instanceof org.jruby.javasupport.JavaClass
ifeq 9
7: aload 6
checkcast org.jruby.javasupport.JavaClass
astore 7
start local 7 8: goto 13
end local 7 StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
9: aload 6
ldc "java_class"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 12
10: aload 6
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "java_class"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.javasupport.JavaClass
astore 7
start local 7 11: goto 13
end local 7 12: StackMap locals:
StackMap stack:
aload 0
aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokestatic org.jruby.javasupport.JavaClass.forNameVerbose:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/javasupport/JavaClass;
astore 7
start local 7 13: StackMap locals: org.jruby.javasupport.JavaClass
StackMap stack:
aload 4
iload 5
iload 2
isub
aload 7
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aastore
end local 7 end local 6 14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 3
if_icmplt 5
end local 5 16: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 runtime Lorg/jruby/Ruby;
0 17 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 17 2 offset I
1 17 3 length I
3 17 4 argumentTypes [Ljava/lang/Class;
4 16 5 i I
6 14 6 arg Lorg/jruby/runtime/builtin/IRubyObject;
8 9 7 type Lorg/jruby/javasupport/JavaClass;
11 12 7 type Lorg/jruby/javasupport/JavaClass;
13 14 7 type Lorg/jruby/javasupport/JavaClass;
Signature: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
runtime final
args final
offset final
public org.jruby.RubyArray constructors();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.javasupport.JavaClass.constructors:Lorg/jruby/RubyArray;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
areturn
2: StackMap locals: org.jruby.RubyArray
StackMap stack:
aload 0
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getConstructors:()[Ljava/lang/reflect/Constructor;
invokestatic org.jruby.javasupport.JavaClass.buildConstructors:(Lorg/jruby/Ruby;[Ljava/lang/reflect/Constructor;)Lorg/jruby/RubyArray;
dup_x1
putfield org.jruby.javasupport.JavaClass.constructors:Lorg/jruby/RubyArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
1 3 1 constructors Lorg/jruby/RubyArray;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray classes();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClasses:()[Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaClass.toRubyArray:(Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray declared_classes();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
astore 3
start local 3 3: aload 1
aload 3
arraylength
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 9
6: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.Ruby java.lang.Class java.lang.Class[] org.jruby.RubyArray int
StackMap stack:
aload 3
iload 5
aaload
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 8
7: aload 4
aload 1
aload 3
iload 5
aaload
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 3
arraylength
if_icmplt 6
end local 5 10: aload 4
11: areturn
end local 4 end local 3 12: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.Ruby java.lang.Class
StackMap stack: java.lang.SecurityException
pop
13: aload 2
invokevirtual java.lang.Class.getClasses:()[Ljava/lang/Class;
astore 3
start local 3 14: aload 1
aload 3
arraylength
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 4
start local 4 15: iconst_0
istore 5
start local 5 16: goto 20
17: StackMap locals: java.lang.Class[] org.jruby.RubyArray int
StackMap stack:
aload 2
aload 3
iload 5
aaload
invokevirtual java.lang.Class.getDeclaringClass:()Ljava/lang/Class;
if_acmpne 19
18: aload 4
aload 1
aload 3
iload 5
aaload
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
19: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 3
arraylength
if_icmplt 17
end local 5 21: aload 4
22: areturn
end local 4 end local 3 23: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.Ruby java.lang.Class
StackMap stack: java.lang.SecurityException
pop
24: aload 1
invokestatic org.jruby.RubyArray.newEmptyArray:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/jruby/javasupport/JavaClass;
1 25 1 runtime Lorg/jruby/Ruby;
2 25 2 javaClass Ljava/lang/Class<*>;
3 12 3 classes [Ljava/lang/Class;
4 12 4 result Lorg/jruby/RubyArray;
5 10 5 i I
14 23 3 classes [Ljava/lang/Class;
15 23 4 result Lorg/jruby/RubyArray;
16 21 5 i I
Exception table:
from to target type
2 11 12 Class java.lang.SecurityException
13 22 23 Class java.lang.SecurityException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray declared_constructors();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
invokestatic org.jruby.javasupport.JavaClass.buildConstructors:(Lorg/jruby/Ruby;[Ljava/lang/reflect/Constructor;)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
private static org.jruby.RubyArray buildConstructors(org.jruby.Ruby, java.lang.reflect.Constructor<?>[]);
descriptor: (Lorg/jruby/Ruby;[Ljava/lang/reflect/Constructor;)Lorg/jruby/RubyArray;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;I)Lorg/jruby/RubyArray;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.jruby.RubyArray int
StackMap stack:
aload 2
new org.jruby.javasupport.JavaConstructor
dup
aload 0
aload 1
iload 3
aaload
invokespecial org.jruby.javasupport.JavaConstructor.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Constructor;)V
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 runtime Lorg/jruby/Ruby;
0 7 1 constructors [Ljava/lang/reflect/Constructor;
1 7 2 result Lorg/jruby/RubyArray;
2 6 3 i I
Signature: (Lorg/jruby/Ruby;[Ljava/lang/reflect/Constructor<*>;)Lorg/jruby/RubyArray;
MethodParameters:
Name Flags
runtime final
constructors
public org.jruby.javasupport.JavaConstructor constructor(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaConstructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
aload 1
iconst_0
invokestatic org.jruby.javasupport.JavaClass.getArgumentTypes:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
astore 3
start local 3 2: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
start local 4 3: new org.jruby.javasupport.JavaConstructor
dup
aload 2
aload 4
invokespecial org.jruby.javasupport.JavaConstructor.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Constructor;)V
4: areturn
end local 4 end local 3 5: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby
StackMap stack: java.lang.NoSuchMethodException
pop
6: aload 2
ldc "no matching java constructor"
aconst_null
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/javasupport/JavaClass;
0 7 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 7 2 runtime Lorg/jruby/Ruby;
2 5 3 parameterTypes [Ljava/lang/Class;
3 5 4 constructor Ljava/lang/reflect/Constructor<*>;
Exception table:
from to target type
1 4 5 Class java.lang.NoSuchMethodException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
args
public org.jruby.javasupport.JavaConstructor declared_constructor(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaConstructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
aload 1
iconst_0
invokestatic org.jruby.javasupport.JavaClass.getArgumentTypes:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;I)[Ljava/lang/Class;
astore 3
start local 3 2: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
start local 4 3: new org.jruby.javasupport.JavaConstructor
dup
aload 2
aload 4
invokespecial org.jruby.javasupport.JavaConstructor.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Constructor;)V
4: areturn
end local 4 end local 3 5: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby
StackMap stack: java.lang.NoSuchMethodException
pop
6: aload 2
ldc "no matching java constructor"
aconst_null
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/javasupport/JavaClass;
0 7 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 7 2 runtime Lorg/jruby/Ruby;
2 5 3 parameterTypes [Ljava/lang/Class;
3 5 4 constructor Ljava/lang/reflect/Constructor<*>;
Exception table:
from to target type
1 4 5 Class java.lang.NoSuchMethodException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
args
public org.jruby.javasupport.JavaClass array_class();
descriptor: ()Lorg/jruby/javasupport/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaClass;
1 2 1 arrayClass Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.javasupport.JavaObject new_array(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyInteger
ifeq 3
1: aload 1
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getIntValue:()I
istore 2
start local 2 2: new org.jruby.javasupport.JavaArray
dup
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
iload 2
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
invokespecial org.jruby.javasupport.JavaArray.<init>:(Lorg/jruby/Ruby;Ljava/lang/Object;)V
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.RubyArray
ifeq 17
4: aload 1
checkcast org.jruby.RubyArray
invokevirtual org.jruby.RubyArray.toJavaArrayMaybeUnsafe:()[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 5: aload 2
arraylength
istore 3
start local 3 6: iload 3
ifne 8
7: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
ldc "empty dimensions specifier for java array"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
8: StackMap locals: org.jruby.runtime.builtin.IRubyObject[] int
StackMap stack:
iload 3
newarray 10
astore 4
start local 4 9: iload 3
istore 5
start local 5 10: goto 15
11: StackMap locals: int[] int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 12: aload 6
instanceof org.jruby.RubyInteger
ifne 14
13: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 6
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
14: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
iload 5
aload 6
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getIntValue:()I
iastore
end local 6 15: StackMap locals:
StackMap stack:
iinc 5 -1
iload 5
ifge 11
end local 5 16: new org.jruby.javasupport.JavaArray
dup
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 4
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;[I)Ljava/lang/Object;
invokespecial org.jruby.javasupport.JavaArray.<init>:(Lorg/jruby/Ruby;Ljava/lang/Object;)V
areturn
end local 4 end local 3 end local 2 17: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
18: ldc "invalid length or dimensions specifier for java array - must be Integer or Array of Integer"
19: invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jruby/javasupport/JavaClass;
0 20 1 lengthArgument Lorg/jruby/runtime/builtin/IRubyObject;
2 3 2 length I
5 17 2 aryLengths [Lorg/jruby/runtime/builtin/IRubyObject;
6 17 3 length I
9 17 4 dimensions [I
10 16 5 i I
12 15 6 dimLength Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
lengthArgument
public org.jruby.runtime.builtin.IRubyObject emptyJavaArray(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.java.util.ArrayUtils.emptyJavaArrayDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Class;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject javaArraySubarray(org.jruby.runtime.ThreadContext, org.jruby.javasupport.JavaArray, int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/javasupport/JavaArray;II)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getValue:()Ljava/lang/Object;
iload 3
iload 4
invokestatic org.jruby.java.util.ArrayUtils.javaArraySubarrayDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;II)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 fromArray Lorg/jruby/javasupport/JavaArray;
0 1 3 index I
0 1 4 size I
MethodParameters:
Name Flags
context
fromArray
index
size
public org.jruby.runtime.builtin.IRubyObject concatArrays(org.jruby.runtime.ThreadContext, org.jruby.javasupport.JavaArray, org.jruby.javasupport.JavaArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/javasupport/JavaArray;Lorg/jruby/javasupport/JavaArray;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual org.jruby.javasupport.JavaArray.getValue:()Ljava/lang/Object;
aload 3
invokevirtual org.jruby.javasupport.JavaArray.getValue:()Ljava/lang/Object;
invokestatic org.jruby.java.util.ArrayUtils.concatArraysDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 original Lorg/jruby/javasupport/JavaArray;
0 1 3 additional Lorg/jruby/javasupport/JavaArray;
MethodParameters:
Name Flags
context
original
additional
public org.jruby.runtime.builtin.IRubyObject concatArrays(org.jruby.runtime.ThreadContext, org.jruby.javasupport.JavaArray, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/javasupport/JavaArray;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual org.jruby.javasupport.JavaArray.getValue:()Ljava/lang/Object;
aload 3
invokestatic org.jruby.java.util.ArrayUtils.concatArraysDirect:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 original Lorg/jruby/javasupport/JavaArray;
0 1 3 additional Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
original
additional
public org.jruby.runtime.builtin.IRubyObject javaArrayFromRubyArray(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: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyArray
ifne 3
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 2: aload 3
aload 2
aload 3
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
checkcast org.jruby.RubyArray
invokevirtual org.jruby.javasupport.JavaClass.javaArrayFromRubyArray:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 fromArray Lorg/jruby/runtime/builtin/IRubyObject;
2 3 3 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
fromArray
public final org.jruby.runtime.builtin.IRubyObject javaArrayFromRubyArray(org.jruby.runtime.ThreadContext, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokevirtual org.jruby.javasupport.JavaClass.javaArrayFromRubyArrayDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;)Ljava/lang/Object;
astore 4
start local 4 2: new org.jruby.java.proxies.ArrayJavaProxy
dup
aload 3
aload 3
aload 4
invokestatic org.jruby.javasupport.Java.getProxyClassForObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/RubyClass;
aload 4
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaUtil.getJavaConverter:(Ljava/lang/Class;)Lorg/jruby/javasupport/JavaUtil$JavaConverter;
invokespecial org.jruby.java.proxies.ArrayJavaProxy.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Object;Lorg/jruby/javasupport/JavaUtil$JavaConverter;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 fromArray Lorg/jruby/RubyArray;
1 3 3 runtime Lorg/jruby/Ruby;
2 3 4 newArray Ljava/lang/Object;
MethodParameters:
Name Flags
context
fromArray
public final java.lang.Object javaArrayFromRubyArrayDirect(org.jruby.runtime.ThreadContext, org.jruby.RubyArray);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 4
start local 4 2: aload 4
aload 2
invokevirtual org.jruby.RubyArray.size:()I
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 5
start local 5 3: aload 4
invokevirtual java.lang.Class.isArray:()Z
ifeq 20
4: iconst_0
istore 6
start local 6 5: goto 18
6: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.ThreadContext org.jruby.RubyArray org.jruby.Ruby java.lang.Class java.lang.Object int
StackMap stack:
aload 4
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 7
start local 7 7: aload 2
iload 6
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 8
start local 8 8: aload 8
instanceof org.jruby.RubyArray
ifeq 12
9: aload 3
aload 7
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
astore 10
start local 10 10: aload 10
aload 1
aload 8
invokevirtual org.jruby.javasupport.JavaClass.javaArrayFromRubyArrayDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
astore 9
end local 10 start local 9 11: goto 16
end local 9 12: StackMap locals: java.lang.Class org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
aload 8
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 15
13: aload 8
astore 9
start local 9 14: goto 16
end local 9 15: StackMap locals:
StackMap stack:
aload 8
aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
astore 9
start local 9 16: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 5
iload 6
aload 9
invokestatic org.jruby.java.util.ArrayUtils.setWithExceptionHandlingDirect:(Lorg/jruby/Ruby;Ljava/lang/Object;ILjava/lang/Object;)V
end local 9 end local 8 end local 7 17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
aload 2
invokevirtual org.jruby.RubyArray.size:()I
if_icmplt 6
end local 6 19: goto 21
20: StackMap locals:
StackMap stack:
aload 2
aload 5
invokestatic org.jruby.java.util.ArrayUtils.copyDataToJavaArrayDirect:(Lorg/jruby/RubyArray;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
aload 5
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 22 0 this Lorg/jruby/javasupport/JavaClass;
0 22 1 context Lorg/jruby/runtime/ThreadContext;
0 22 2 fromArray Lorg/jruby/RubyArray;
1 22 3 runtime Lorg/jruby/Ruby;
2 22 4 type Ljava/lang/Class<*>;
3 22 5 newArray Ljava/lang/Object;
5 19 6 i I
7 17 7 nestedType Ljava/lang/Class<*>;
8 17 8 element Lorg/jruby/runtime/builtin/IRubyObject;
11 12 9 nestedArray Ljava/lang/Object;
14 15 9 nestedArray Ljava/lang/Object;
16 17 9 nestedArray Ljava/lang/Object;
10 11 10 componentType Lorg/jruby/javasupport/JavaClass;
MethodParameters:
Name Flags
context
fromArray
public final java.lang.Object javaArrayFromRubyArrayDirect(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.RubyArray
ifne 3
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 2: aload 3
aload 2
aload 3
invokevirtual org.jruby.Ruby.getArray:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
checkcast org.jruby.RubyArray
invokevirtual org.jruby.javasupport.JavaClass.javaArrayFromRubyArrayDirect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaClass;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 fromArray Lorg/jruby/runtime/builtin/IRubyObject;
2 3 3 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
fromArray
public org.jruby.RubyArray fields();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getFields:()[Ljava/lang/reflect/Field;
invokestatic org.jruby.javasupport.JavaClass.buildFieldResults:(Lorg/jruby/Ruby;[Ljava/lang/reflect/Field;)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyArray declared_fields();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
invokestatic org.jruby.javasupport.JavaClass.buildFieldResults:(Lorg/jruby/Ruby;[Ljava/lang/reflect/Field;)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
private static org.jruby.RubyArray buildFieldResults(org.jruby.Ruby, java.lang.reflect.Field[]);
descriptor: (Lorg/jruby/Ruby;[Ljava/lang/reflect/Field;)Lorg/jruby/RubyArray;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.jruby.RubyArray int
StackMap stack:
aload 2
new org.jruby.javasupport.JavaField
dup
aload 0
aload 1
iload 3
aaload
invokespecial org.jruby.javasupport.JavaField.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Field;)V
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 runtime Lorg/jruby/Ruby;
0 7 1 fields [Ljava/lang/reflect/Field;
1 7 2 result Lorg/jruby/RubyArray;
2 6 3 i I
MethodParameters:
Name Flags
runtime final
fields
public org.jruby.javasupport.JavaField field(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 2: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 5
start local 5 3: new org.jruby.javasupport.JavaField
dup
aload 4
aload 3
aload 5
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokespecial org.jruby.javasupport.JavaField.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Field;)V
4: areturn
5: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject java.lang.Class org.jruby.Ruby java.lang.String
StackMap stack: java.lang.NoSuchFieldException
pop
6: aload 5
invokestatic org.jruby.javasupport.JavaUtil.getJavaCasedName:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 7: aload 6
ifnull 11
8: new org.jruby.javasupport.JavaField
dup
aload 4
aload 3
aload 6
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokespecial org.jruby.javasupport.JavaField.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Field;)V
9: areturn
10: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject java.lang.Class org.jruby.Ruby java.lang.String java.lang.String
StackMap stack: java.lang.NoSuchFieldException
pop
11: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 5
invokestatic org.jruby.javasupport.JavaClass.undefinedFieldError:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 6 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 12 0 this Lorg/jruby/javasupport/JavaClass;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 name Lorg/jruby/runtime/builtin/IRubyObject;
1 12 3 javaClass Ljava/lang/Class<*>;
2 12 4 runtime Lorg/jruby/Ruby;
3 12 5 stringName Ljava/lang/String;
7 12 6 newName Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.NoSuchFieldException
8 9 10 Class java.lang.NoSuchFieldException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
context
name
public org.jruby.javasupport.JavaField declared_field(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/javasupport/JavaField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 2: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 5
start local 5 3: new org.jruby.javasupport.JavaField
dup
aload 4
aload 3
aload 5
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokespecial org.jruby.javasupport.JavaField.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Field;)V
4: areturn
5: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject java.lang.Class org.jruby.Ruby java.lang.String
StackMap stack: java.lang.NoSuchFieldException
pop
6: aload 5
invokestatic org.jruby.javasupport.JavaUtil.getJavaCasedName:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 7: aload 6
ifnull 11
8: new org.jruby.javasupport.JavaField
dup
aload 4
aload 3
aload 6
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokespecial org.jruby.javasupport.JavaField.<init>:(Lorg/jruby/Ruby;Ljava/lang/reflect/Field;)V
9: areturn
10: StackMap locals: org.jruby.javasupport.JavaClass org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject java.lang.Class org.jruby.Ruby java.lang.String java.lang.String
StackMap stack: java.lang.NoSuchFieldException
pop
11: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 5
invokestatic org.jruby.javasupport.JavaClass.undefinedFieldError:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 6 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 12 0 this Lorg/jruby/javasupport/JavaClass;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 name Lorg/jruby/runtime/builtin/IRubyObject;
1 12 3 javaClass Ljava/lang/Class<*>;
2 12 4 runtime Lorg/jruby/Ruby;
3 12 5 stringName Ljava/lang/String;
7 12 6 newName Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.NoSuchFieldException
8 9 10 Class java.lang.NoSuchFieldException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
context
name
public static org.jruby.exceptions.RaiseException undefinedFieldError(org.jruby.Ruby, java.lang.String, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
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 0
new java.lang.StringBuilder
dup
ldc "undefined field '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' for class '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 javaClassName Ljava/lang/String;
0 1 2 name Ljava/lang/String;
MethodParameters:
Name Flags
runtime
javaClassName
name
public org.jruby.RubyArray interfaces();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaClass.toRubyArray:(Lorg/jruby/Ruby;[Ljava/lang/Class;)Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean primitive_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.isPrimitive:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"primitive?"})
boolean isPrimitive();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
public org.jruby.RubyBoolean assignable_from_p(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.JavaClass
ifne 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "assignable_from requires JavaClass ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " given)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.jruby.javasupport.JavaClass.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 5
StackMap locals: java.lang.Class
StackMap stack:
4: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/javasupport/JavaClass;
0 6 1 other Lorg/jruby/runtime/builtin/IRubyObject;
3 6 2 otherClass Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"assignable_from?"}, required = 1)
MethodParameters:
Name Flags
other
public final boolean isAssignableFrom(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
aload 1
invokestatic org.jruby.javasupport.JavaClass.assignable:(Ljava/lang/Class;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaClass;
0 1 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
public static boolean assignable(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 1
aload 0
invokestatic org.jruby.util.CodegenUtils.getBoxType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 0
goto 3
1: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 2
aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 4
aload 1
invokestatic org.jruby.util.CodegenUtils.getBoxType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 1
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
ldc Ljava/lang/Number;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 10
6: ldc Ljava/lang/Number;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/lang/Character;
if_acmpne 13
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/lang/Character;
if_acmpne 13
11: ldc Ljava/lang/Number;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 target Ljava/lang/Class<*>;
0 14 1 from Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
target
from
public org.jruby.javasupport.JavaClass component_type();
descriptor: ()Lorg/jruby/javasupport/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifne 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
ldc "not a java array-class"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaClass.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaClass;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public static java.lang.reflect.Constructor[] getConstructors(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Constructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getConstructors:()[Ljava/lang/reflect/Constructor;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
iconst_0
anewarray java.lang.reflect.Constructor
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Constructor;
MethodParameters:
Name Flags
clazz final
public static java.lang.Class<?>[] getDeclaredClasses(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
iconst_0
anewarray java.lang.Class
areturn
3: StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
pop
4: iconst_0
anewarray java.lang.Class
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
0 1 3 Class java.lang.NoClassDefFoundError
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clazz final
public static java.lang.reflect.Field[] getDeclaredFields(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: aload 0
invokestatic org.jruby.javasupport.JavaClass.getFields:(Ljava/lang/Class;)[Ljava/lang/reflect/Field;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
clazz final
public static java.lang.reflect.Field[] getFields(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getFields:()[Ljava/lang/reflect/Field;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
iconst_0
anewarray java.lang.reflect.Field
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
clazz final
public org.jruby.runtime.builtin.IRubyObject inspect();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.javasupport.JavaClass.inspect:()Lorg/jruby/RubyString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JavaClass.java"
InnerClasses:
public abstract JavaConverter = org.jruby.javasupport.JavaUtil$JavaConverter of org.jruby.javasupport.JavaUtil
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Java::JavaClass"}, parent = "Java::JavaObject", include = {"Comparable"})