public abstract class org.jruby.java.codegen.RealClassGenerator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.java.codegen.RealClassGenerator
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int V_BC;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/java/codegen/RealClassGenerator;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.java.codegen.RealClassGenerator.$assertionsDisabled:Z
3: getstatic org.jruby.RubyInstanceConfig.JAVA_VERSION:I
putstatic org.jruby.java.codegen.RealClassGenerator.V_BC:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/codegen/RealClassGenerator;
static java.util.Map<java.lang.String, java.util.List<java.lang.reflect.Method>> buildSimpleToAllMap(java.lang.Class[], java.lang.String[], org.jruby.RubyClass);
descriptor: ([Ljava/lang/Class;[Ljava/lang/String;Lorg/jruby/RubyClass;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=13, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 24
3: StackMap locals: java.util.LinkedHashMap int
StackMap stack:
aload 1
iload 4
aload 0
iload 4
aaload
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
aastore
4: aload 0
iload 4
aaload
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 22
StackMap locals: java.lang.Class[] java.lang.String[] org.jruby.RubyClass java.util.LinkedHashMap int top int int java.lang.reflect.Method[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 9
start local 9 7: aload 5
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 8
goto 21
8: StackMap locals: java.lang.Class[] java.lang.String[] org.jruby.RubyClass java.util.LinkedHashMap int java.lang.reflect.Method int int java.lang.reflect.Method[] java.lang.String
StackMap stack:
aload 2
ifnull 11
9: aload 5
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifne 11
aload 2
invokevirtual org.jruby.RubyClass.getMethods:()Ljava/util/Map;
aload 9
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 11
10: goto 21
11: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 10
start local 10 12: aload 10
ifnonnull 20
13: aload 3
aload 9
new java.util.ArrayList
dup
bipush 6
invokespecial java.util.ArrayList.<init>:(I)V
dup
astore 10
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 9
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
aload 9
invokevirtual java.lang.String.length:()I
iconst_2
if_icmple 20
15: new java.lang.StringBuilder
dup
ldc "get"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 11
start local 11 16: aload 3
aload 11
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 12
start local 12 17: aload 12
ifnull 20
18: aload 3
aload 11
invokevirtual java.util.LinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 3
aload 11
aload 12
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 end local 11 20: StackMap locals: java.util.List
StackMap stack:
aload 10
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 5 21: StackMap locals: java.lang.Class[] java.lang.String[] org.jruby.RubyClass java.util.LinkedHashMap int top int int java.lang.reflect.Method[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
iload 7
if_icmplt 5
23: iinc 4 1
StackMap locals: java.lang.Class[] java.lang.String[] org.jruby.RubyClass java.util.LinkedHashMap int
StackMap stack:
24: iload 4
aload 0
arraylength
if_icmplt 3
end local 4 25: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 interfaces [Ljava/lang/Class;
0 26 1 superTypeNames [Ljava/lang/String;
0 26 2 implClass Lorg/jruby/RubyClass;
1 26 3 simpleToAll Ljava/util/LinkedHashMap<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;
2 25 4 i I
6 21 5 method Ljava/lang/reflect/Method;
7 21 9 name Ljava/lang/String;
12 21 10 methods Ljava/util/List<Ljava/lang/reflect/Method;>;
16 20 11 getName Ljava/lang/String;
17 20 12 getMethods Ljava/util/List<Ljava/lang/reflect/Method;>;
Exceptions:
throws java.lang.SecurityException
Signature: ([Ljava/lang/Class;[Ljava/lang/String;Lorg/jruby/RubyClass;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;
MethodParameters:
Name Flags
interfaces
superTypeNames
implClass
public static java.lang.Class createOldStyleImplClass(java.lang.Class[], org.jruby.RubyClass, org.jruby.Ruby, java.lang.String, org.jruby.util.ClassDefiningClassLoader);
descriptor: ([Ljava/lang/Class;Lorg/jruby/RubyClass;Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/util/ClassDefiningClassLoader;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
arraylength
anewarray java.lang.String
astore 5
start local 5 1: aload 0
aload 5
aload 1
invokestatic org.jruby.java.codegen.RealClassGenerator.buildSimpleToAllMap:([Ljava/lang/Class;[Ljava/lang/String;Lorg/jruby/RubyClass;)Ljava/util/Map;
astore 6
start local 6 2: aload 2
aload 3
aload 5
aload 6
aload 4
invokestatic org.jruby.java.codegen.RealClassGenerator.defineOldStyleImplClass:(Lorg/jruby/Ruby;Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;Lorg/jruby/util/ClassDefiningClassLoader;)Ljava/lang/Class;
astore 7
start local 7 3: aload 7
areturn
end local 7 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 4 0 superTypes [Ljava/lang/Class;
0 4 1 rubyClass Lorg/jruby/RubyClass;
0 4 2 ruby Lorg/jruby/Ruby;
0 4 3 name Ljava/lang/String;
0 4 4 classLoader Lorg/jruby/util/ClassDefiningClassLoader;
1 4 5 superTypeNames [Ljava/lang/String;
2 4 6 simpleToAll Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;
3 4 7 newClass Ljava/lang/Class;
MethodParameters:
Name Flags
superTypes
rubyClass
ruby
name
classLoader
public static java.lang.Class createRealImplClass(java.lang.Class, java.lang.Class[], org.jruby.RubyClass, org.jruby.Ruby, java.lang.String);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;Lorg/jruby/RubyClass;Lorg/jruby/Ruby;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
arraylength
anewarray java.lang.String
astore 5
start local 5 1: aload 1
aload 5
aload 2
invokestatic org.jruby.java.codegen.RealClassGenerator.buildSimpleToAllMap:([Ljava/lang/Class;[Ljava/lang/String;Lorg/jruby/RubyClass;)Ljava/util/Map;
astore 6
start local 6 2: aload 3
aload 4
aload 0
aload 5
aload 6
invokestatic org.jruby.java.codegen.RealClassGenerator.defineRealImplClass:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Class;
astore 7
start local 7 3: aload 1
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 7
StackMap locals: java.lang.Class java.lang.Class[] org.jruby.RubyClass org.jruby.Ruby java.lang.String java.lang.String[] java.util.Map java.lang.Class top int int java.lang.Class[]
StackMap stack:
4: aload 11
iload 9
aaload
astore 8
start local 8 5: getstatic org.jruby.java.codegen.RealClassGenerator.$assertionsDisabled:Z
ifne 6
aload 8
aload 7
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 8 6: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
7: iload 9
iload 10
if_icmplt 4
8: aload 7
areturn
end local 7 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 9 0 superClass Ljava/lang/Class;
0 9 1 interfaces [Ljava/lang/Class;
0 9 2 rubyClass Lorg/jruby/RubyClass;
0 9 3 ruby Lorg/jruby/Ruby;
0 9 4 name Ljava/lang/String;
1 9 5 superTypeNames [Ljava/lang/String;
2 9 6 simpleToAll Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;
3 9 7 newClass Ljava/lang/Class;
5 6 8 ifc Ljava/lang/Class;
MethodParameters:
Name Flags
superClass
interfaces
rubyClass
ruby
name
public static java.lang.Class defineOldStyleImplClass(org.jruby.Ruby, java.lang.String, java.lang.String[], java.util.Map<java.lang.String, java.util.List<java.lang.reflect.Method>>, org.jruby.util.ClassDefiningClassLoader);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;Lorg/jruby/util/ClassDefiningClassLoader;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=5
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tClassWriter cannot be resolved to a type\n\tThe method newClassWriter(ClassLoader) from the type ASM refers to the missing type ClassWriter\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_SUPER cannot be resolved to a variable\n\tACC_STATIC cannot be resolved to a variable\n\tACC_FINAL cannot be resolved to a variable\n\tACC_PRIVATE cannot be resolved to a variable\n\tACC_PRIVATE cannot be resolved to a variable\n\tACC_FINAL cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_STATIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Lorg/jruby/Ruby;Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;Lorg/jruby/util/ClassDefiningClassLoader;)Ljava/lang/Class;
MethodParameters:
Name Flags
ruby final
name final
superTypeNames final
simpleToAll final
loader final
private static void defineOldStyleBody(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 5
istore 8
start local 8 1: iload 8
iconst_1
iadd
istore 9
start local 9 2: aload 0
iconst_5
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
3: aload 0
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
4: aload 0
aload 1
ldc "$self"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getfield:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 0
iload 8
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.astore:(I)V
6: aload 0
iload 8
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
7: aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getRuntime"
ldc Lorg/jruby/Ruby;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokeinterface:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
iload 9
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.astore:(I)V
9: aload 0
aload 1
ldc "$runtimeCache"
ldc Lorg/jruby/ast/executable/RuntimeCache;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getstatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
iload 8
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
11: aload 0
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
12: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 15
StackMap locals: org.jruby.compiler.impl.SkinnyMethodAdapter java.lang.String java.lang.String java.lang.Class[] java.lang.Class int int java.util.Set int int top java.util.Iterator
StackMap stack:
13: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 14: aload 0
aload 10
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
end local 10 15: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: aload 0
ldc Lorg/jruby/ast/executable/RuntimeCache;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "searchWithCache"
17: ldc Lorg/jruby/internal/runtime/methods/DynamicMethod;
ldc Lorg/jruby/runtime/builtin/IRubyObject;
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
ldc Ljava/lang/String;
aload 7
invokeinterface java.util.Set.size:()I
invokestatic org.jruby.util.CodegenUtils.params:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)[Ljava/lang/Class;
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
18: invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: aload 0
iload 9
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
20: aload 0
ldc Lorg/jruby/Ruby;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getCurrentContext"
ldc Lorg/jruby/runtime/ThreadContext;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
21: aload 0
iconst_2
newarray 10
dup
iconst_0
iload 8
iastore
dup
iconst_1
iload 8
iastore
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aloadMany:([I)V
22: aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getMetaClass"
ldc Lorg/jruby/RubyClass;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokeinterface:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
23: aload 0
aload 2
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
24: aload 0
aload 3
iload 9
invokestatic org.jruby.java.codegen.RealClassGenerator.coerceArgumentsToRuby:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;I)V
25: aload 0
ldc Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "NULL_BLOCK"
ldc Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getstatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
26: aload 0
bipush 13
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
27: aload 0
ldc Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "call"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
bipush 6
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/runtime/ThreadContext;
aastore
dup
iconst_1
ldc Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_2
ldc Lorg/jruby/RubyModule;
aastore
dup
iconst_3
ldc Ljava/lang/String;
aastore
dup
iconst_4
ldc [Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_5
ldc Lorg/jruby/runtime/Block;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
28: aload 0
aload 4
invokestatic org.jruby.java.codegen.RealClassGenerator.coerceResultAndReturn:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/Class;)V
29: return
end local 9 end local 8 end local 7 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 30 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 30 1 pathName Ljava/lang/String;
0 30 2 simpleName Ljava/lang/String;
0 30 3 paramTypes [Ljava/lang/Class;
0 30 4 returnType Ljava/lang/Class;
0 30 5 baseIndex I
0 30 6 cacheIndex I
0 30 7 nameSet Ljava/util/Set<Ljava/lang/String;>;
1 30 8 selfIndex I
2 30 9 rubyIndex I
14 15 10 eachName Ljava/lang/String;
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
public static java.lang.Class defineRealImplClass(org.jruby.Ruby, java.lang.String, java.lang.Class, java.lang.String[], java.util.Map<java.lang.String, java.util.List<java.lang.reflect.Method>>);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=5
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tClassWriter cannot be resolved to a type\n\tClassWriter cannot be resolved to a type\n\tClassWriter cannot be resolved to a variable\n\tClassWriter cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_SUPER cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_SUPER cannot be resolved to a variable\n\tACC_STATIC cannot be resolved to a variable\n\tACC_FINAL cannot be resolved to a variable\n\tACC_PRIVATE cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_STATIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_FINAL cannot be resolved to a variable\n\tACC_PRIVATE cannot be resolved to a variable\n\tACC_FINAL cannot be resolved to a variable\n\tACC_PRIVATE cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n\tACC_PUBLIC cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/reflect/Method;>;>;)Ljava/lang/Class;
MethodParameters:
Name Flags
runtime final
name final
superClass final
superTypeNames final
simpleToAll final
private static void defineRealBody(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 5
iconst_1
iadd
istore 8
start local 8 1: aload 0
iconst_5
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
2: aload 0
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
3: aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getRuntime"
ldc Lorg/jruby/Ruby;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokeinterface:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
iload 8
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.astore:(I)V
5: aload 0
aload 1
ldc "$runtimeCache"
ldc Lorg/jruby/ast/executable/RuntimeCache;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getstatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 0
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
7: aload 0
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
8: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 11
StackMap locals: org.jruby.compiler.impl.SkinnyMethodAdapter java.lang.String java.lang.String java.lang.Class[] java.lang.Class int int java.util.Set int top java.util.Iterator
StackMap stack:
9: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 10: aload 0
aload 9
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
end local 9 11: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 0
ldc Lorg/jruby/ast/executable/RuntimeCache;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "searchWithCache"
13: ldc Lorg/jruby/internal/runtime/methods/DynamicMethod;
ldc Lorg/jruby/runtime/builtin/IRubyObject;
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
ldc Ljava/lang/String;
aload 7
invokeinterface java.util.Set.size:()I
invokestatic org.jruby.util.CodegenUtils.params:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;I)[Ljava/lang/Class;
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
14: invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
15: aload 0
iload 8
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
16: aload 0
ldc Lorg/jruby/Ruby;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getCurrentContext"
ldc Lorg/jruby/runtime/ThreadContext;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
17: aload 0
iconst_2
newarray 10
dup
iconst_0
iconst_0
iastore
dup
iconst_1
iconst_0
iastore
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aloadMany:([I)V
18: aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "getMetaClass"
ldc Lorg/jruby/RubyClass;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokeinterface:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: aload 0
aload 2
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ldc:(Ljava/lang/Object;)V
20: aload 0
aload 3
iload 8
invokestatic org.jruby.java.codegen.RealClassGenerator.coerceArgumentsToRuby:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;I)V
21: aload 0
ldc Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "NULL_BLOCK"
ldc Lorg/jruby/runtime/Block;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getstatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
22: aload 0
bipush 13
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
23: aload 0
ldc Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "call"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
bipush 6
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/runtime/ThreadContext;
aastore
dup
iconst_1
ldc Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_2
ldc Lorg/jruby/RubyModule;
aastore
dup
iconst_3
ldc Ljava/lang/String;
aastore
dup
iconst_4
ldc [Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_5
ldc Lorg/jruby/runtime/Block;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokevirtual:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
24: aload 0
aload 4
invokestatic org.jruby.java.codegen.RealClassGenerator.coerceResultAndReturn:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/Class;)V
25: return
end local 8 end local 7 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 26 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 26 1 pathName Ljava/lang/String;
0 26 2 simpleName Ljava/lang/String;
0 26 3 paramTypes [Ljava/lang/Class;
0 26 4 returnType Ljava/lang/Class;
0 26 5 baseIndex I
0 26 6 cacheIndex I
0 26 7 nameSet Ljava/util/Set<Ljava/lang/String;>;
1 26 8 rubyIndex I
10 11 9 eachName Ljava/lang/String;
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
private static void defineRealBodyWithFallback(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=8
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tLabel cannot be resolved to a type\n\tLabel cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
private static void defineRealEqualsWithFallback(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iload 6
aload 7
invokestatic org.jruby.java.codegen.RealClassGenerator.defineRealBodyWithFallback:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
1: return
end local 7 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 2 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 2 1 pathName Ljava/lang/String;
0 2 2 simpleName Ljava/lang/String;
0 2 3 paramTypes [Ljava/lang/Class;
0 2 4 returnType Ljava/lang/Class;
0 2 5 baseIndex I
0 2 6 cacheIndex I
0 2 7 nameSet Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
private static void defineRealHashCodeWithFallback(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iload 6
aload 7
invokestatic org.jruby.java.codegen.RealClassGenerator.defineRealBodyWithFallback:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
1: return
end local 7 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 2 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 2 1 pathName Ljava/lang/String;
0 2 2 simpleName Ljava/lang/String;
0 2 3 paramTypes [Ljava/lang/Class;
0 2 4 returnType Ljava/lang/Class;
0 2 5 baseIndex I
0 2 6 cacheIndex I
0 2 7 nameSet Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
private static void defineRealToStringWithFallback(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.String, java.lang.String, java.lang.Class[], java.lang.Class, int, int, java.util.Set<java.lang.String>);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iload 6
aload 7
invokestatic org.jruby.java.codegen.RealClassGenerator.defineRealBodyWithFallback:(Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set;)V
1: return
end local 7 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 2 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 2 1 pathName Ljava/lang/String;
0 2 2 simpleName Ljava/lang/String;
0 2 3 paramTypes [Ljava/lang/Class;
0 2 4 returnType Ljava/lang/Class;
0 2 5 baseIndex I
0 2 6 cacheIndex I
0 2 7 nameSet Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;IILjava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mv
pathName final
simpleName final
paramTypes final
returnType final
baseIndex final
cacheIndex final
nameSet final
private static boolean defineDefaultEquals(int, org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.Class[], java.lang.Class);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
iconst_1
if_icmpne 3
aload 2
iconst_0
aaload
ldc Ljava/lang/Object;
if_acmpne 3
aload 3
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 3
1: iload 0
aload 1
invokestatic org.jruby.java.codegen.RealClassGenerator.objectEquals:(ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 line I
0 4 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 4 2 paramTypes [Ljava/lang/Class;
0 4 3 returnType Ljava/lang/Class;
MethodParameters:
Name Flags
line final
mv
paramTypes final
returnType final
private static void objectEquals(int, org.jruby.compiler.impl.SkinnyMethodAdapter);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifle 1
aload 1
iload 0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
2: aload 1
iconst_1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
3: aload 1
ldc Ljava/lang/Object;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "equals"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic org.jruby.util.CodegenUtils.params:([Ljava/lang/Class;)[Ljava/lang/Class;
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokespecial:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ireturn:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 line I
0 6 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
MethodParameters:
Name Flags
line final
mv
private static boolean defineDefaultHashCode(int, org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.Class[], java.lang.Class);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
ifne 3
aload 3
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 3
1: iload 0
aload 1
invokestatic org.jruby.java.codegen.RealClassGenerator.objectHashCode:(ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 line I
0 4 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 4 2 paramTypes [Ljava/lang/Class;
0 4 3 returnType Ljava/lang/Class;
MethodParameters:
Name Flags
line final
mv
paramTypes final
returnType final
private static void objectHashCode(int, org.jruby.compiler.impl.SkinnyMethodAdapter);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifle 1
aload 1
iload 0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
2: aload 1
ldc Ljava/lang/Object;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "hashCode"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokespecial:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.ireturn:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 line I
0 5 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
MethodParameters:
Name Flags
line final
mv
private static boolean defineDefaultToString(int, org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.Class[], java.lang.Class);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
ifne 3
aload 3
ldc Ljava/lang/String;
if_acmpne 3
1: iload 0
aload 1
invokestatic org.jruby.java.codegen.RealClassGenerator.objectToString:(ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 line I
0 4 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 4 2 paramTypes [Ljava/lang/Class;
0 4 3 returnType Ljava/lang/Class;
MethodParameters:
Name Flags
line final
mv
paramTypes final
returnType final
private static void objectToString(int, org.jruby.compiler.impl.SkinnyMethodAdapter);
descriptor: (ILorg/jruby/compiler/impl/SkinnyMethodAdapter;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifle 1
aload 1
iload 0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.line:(I)V
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
2: aload 1
ldc Ljava/lang/Object;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "toString"
ldc Ljava/lang/String;
iconst_0
anewarray java.lang.Class
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokespecial:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.areturn:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 line I
0 5 1 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
MethodParameters:
Name Flags
line final
mv
private static void writeClassFile(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.io.FileOutputStream
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
astore 2
2: aload 2
aload 1
invokevirtual java.io.FileOutputStream.write:([B)V
3: goto 14
4: StackMap locals: java.lang.String byte[] java.io.FileOutputStream
StackMap stack: java.io.IOException
astore 3
start local 3 5: aload 3
invokevirtual java.io.IOException.printStackTrace:()V
end local 3 6: aload 2
ifnull 17
aload 2
invokevirtual java.io.FileOutputStream.close:()V
7: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
8: pop
goto 17
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
10: aload 2
ifnull 13
aload 2
invokevirtual java.io.FileOutputStream.close:()V
11: goto 13
StackMap locals: java.lang.String byte[] java.io.FileOutputStream top java.lang.Throwable
StackMap stack: java.lang.Exception
12: pop
13: StackMap locals:
StackMap stack:
aload 4
athrow
14: StackMap locals: java.lang.String byte[] java.io.FileOutputStream
StackMap stack:
aload 2
ifnull 17
aload 2
invokevirtual java.io.FileOutputStream.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 name Ljava/lang/String;
0 18 1 bytecode [B
1 18 2 fos Ljava/io/FileOutputStream;
5 6 3 ex Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
6 7 8 Class java.lang.Exception
1 6 9 any
10 11 12 Class java.lang.Exception
14 15 16 Class java.lang.Exception
MethodParameters:
Name Flags
name final
bytecode final
public static void coerceArgumentsToRuby(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.Class[], int);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;[Ljava/lang/Class;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
ifeq 43
1: aload 0
aload 1
arraylength
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.pushInt:(I)V
2: aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.anewarray:(Ljava/lang/String;)V
3: iconst_0
istore 3
start local 3 4: iconst_1
istore 4
start local 4 5: goto 41
6: StackMap locals: int int
StackMap stack:
aload 1
iload 3
aaload
astore 5
start local 5 7: aload 0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.dup:()V
8: aload 0
iload 3
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.pushInt:(I)V
9: aload 1
iload 3
aaload
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 33
10: aload 0
iload 2
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
11: aload 5
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpeq 12
aload 5
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpeq 12
aload 5
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpeq 12
aload 5
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 15
12: StackMap locals: java.lang.Class
StackMap stack:
aload 0
iload 4
iinc 4 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.iload:(I)V
13: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToRuby"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
14: goto 39
StackMap locals:
StackMap stack:
15: aload 5
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 20
16: aload 0
iload 4
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.lload:(I)V
17: iinc 4 2
18: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToRuby"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: goto 39
StackMap locals:
StackMap stack:
20: aload 5
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 24
21: aload 0
iload 4
iinc 4 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.fload:(I)V
22: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToRuby"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
23: goto 39
StackMap locals:
StackMap stack:
24: aload 5
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 29
25: aload 0
iload 4
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.dload:(I)V
26: iinc 4 2
27: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToRuby"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
28: goto 39
StackMap locals:
StackMap stack:
29: aload 5
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 39
30: aload 0
iload 4
iinc 4 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.iload:(I)V
31: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToRuby"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
32: goto 39
StackMap locals:
StackMap stack:
33: ldc Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 38
34: aload 0
iload 2
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
35: aload 0
iload 4
iinc 4 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
36: aload 0
ldc Lorg/jruby/javasupport/JavaUtil;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "convertJavaToUsableRubyObject"
ldc Lorg/jruby/runtime/builtin/IRubyObject;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/Ruby;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
invokestatic org.jruby.util.CodegenUtils.sig:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.invokestatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
37: goto 39
38: StackMap locals:
StackMap stack:
aload 0
iload 4
iinc 4 1
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aload:(I)V
39: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.aastore:()V
end local 5 40: iinc 3 1
StackMap locals:
StackMap stack:
41: iload 3
aload 1
arraylength
if_icmplt 6
end local 4 end local 3 42: goto 44
43: StackMap locals:
StackMap stack:
aload 0
ldc Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.p:(Ljava/lang/Class;)Ljava/lang/String;
ldc "NULL_ARRAY"
ldc [Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.util.CodegenUtils.ci:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual org.jruby.compiler.impl.SkinnyMethodAdapter.getstatic:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
44: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 mv Lorg/jruby/compiler/impl/SkinnyMethodAdapter;
0 45 1 paramTypes [Ljava/lang/Class;
0 45 2 rubyIndex I
4 42 3 i I
5 42 4 argIndex I
7 40 5 paramType Ljava/lang/Class;
MethodParameters:
Name Flags
mv
paramTypes
rubyIndex
public static void coerceResultAndReturn(org.jruby.compiler.impl.SkinnyMethodAdapter, java.lang.Class);
descriptor: (Lorg/jruby/compiler/impl/SkinnyMethodAdapter;Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tType cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
mv
returnType
public static int calcBaseIndex(java.lang.Class[], int);
descriptor: ([Ljava/lang/Class;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.lang.Class[] int top int int java.lang.Class[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpeq 3
aload 2
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 5
3: StackMap locals: java.lang.Class[] int java.lang.Class int int java.lang.Class[]
StackMap stack:
iinc 1 2
4: goto 6
5: StackMap locals:
StackMap stack:
iinc 1 1
end local 2 6: StackMap locals: java.lang.Class[] int top int int java.lang.Class[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 1
8: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 params [Ljava/lang/Class;
0 9 1 baseIndex I
2 6 2 paramType Ljava/lang/Class;
MethodParameters:
Name Flags
params final
baseIndex
}
SourceFile: "RealClassGenerator.java"