public class org.jruby.anno.InvokerGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.anno.InvokerGenerator
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
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/anno/InvokerGenerator;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: new java.io.FileReader
dup
aload 0
iconst_0
aaload
invokespecial java.io.FileReader.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: goto 5
end local 1 2: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
iconst_0
aaload
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " - not found. skip generator."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: return
start local 1 5: StackMap locals: java.io.FileReader
StackMap stack:
new java.io.BufferedReader
dup
aload 1
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 2
start local 2 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 7: goto 9
start local 4 8: StackMap locals: java.io.BufferedReader java.util.List java.lang.String
StackMap stack:
aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 4
start local 4 10: ifnonnull 8
end local 4 11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
13: aload 2
invokevirtual java.io.BufferedReader.close:()V
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.close:()V
16: new org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory
dup
aload 0
iconst_1
aaload
new org.jruby.util.ClassDefiningJRubyClassLoader
dup
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.jruby.util.ClassDefiningJRubyClassLoader.<init>:(Ljava/lang/ClassLoader;)V
invokespecial org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
astore 4
start local 4 17: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 34
StackMap locals: java.lang.String[] java.io.FileReader java.io.BufferedReader java.util.List org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 19: new org.jruby.RubyModule$MethodClumper
dup
invokespecial org.jruby.RubyModule$MethodClumper.<init>:()V
astore 7
start local 7 20: aload 5
iconst_0
ldc Lorg/jruby/anno/InvokerGenerator;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 8
start local 8 21: aload 7
aload 8
invokevirtual org.jruby.RubyModule$MethodClumper.clump:(Ljava/lang/Class;)V
22: aload 7
invokevirtual org.jruby.RubyModule$MethodClumper.getStaticAnnotatedMethods:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 25
StackMap locals: java.lang.String[] java.io.FileReader java.io.BufferedReader java.util.List org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory java.lang.String java.util.Iterator org.jruby.RubyModule$MethodClumper java.lang.Class top java.util.Iterator
StackMap stack:
23: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 9
start local 9 24: aload 4
aload 9
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory.getAnnotatedMethodClass:(Ljava/util/List;)Ljava/lang/Class;
pop
end local 9 25: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
26: aload 7
invokevirtual org.jruby.RubyModule$MethodClumper.getAnnotatedMethods:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 29
StackMap locals:
StackMap stack:
27: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 9
start local 9 28: aload 4
aload 9
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory.getAnnotatedMethodClass:(Ljava/util/List;)Ljava/lang/Class;
pop
end local 9 29: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
end local 8 30: goto 34
31: StackMap locals: java.lang.String[] java.io.FileReader java.io.BufferedReader java.util.List org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory java.lang.String java.util.Iterator org.jruby.RubyModule$MethodClumper
StackMap stack: java.lang.Exception
astore 8
start local 8 32: aload 8
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
33: aload 8
athrow
end local 8 end local 7 end local 5 34: StackMap locals: java.lang.String[] java.io.FileReader java.io.BufferedReader java.util.List org.jruby.internal.runtime.methods.DumpingInvocationMethodFactory top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
35: new java.io.File
dup
aload 0
iconst_0
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.delete:()Z
pop
36: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 args [Ljava/lang/String;
1 2 1 fileReader Ljava/io/FileReader;
5 37 1 fileReader Ljava/io/FileReader;
6 37 2 br Ljava/io/BufferedReader;
7 37 3 classNames Ljava/util/List<Ljava/lang/String;>;
8 9 4 line Ljava/lang/String;
10 11 4 line Ljava/lang/String;
17 37 4 dumper Lorg/jruby/internal/runtime/methods/DumpingInvocationMethodFactory;
19 34 5 name Ljava/lang/String;
20 34 7 clumper Lorg/jruby/RubyModule$MethodClumper;
21 30 8 cls Ljava/lang/Class;
24 25 9 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Lorg/jruby/anno/JavaMethodDescriptor;>;>;
28 29 9 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Lorg/jruby/anno/JavaMethodDescriptor;>;>;
32 34 8 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.io.FileNotFoundException
7 12 12 any
20 30 31 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "InvokerGenerator.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final MethodClumper = org.jruby.RubyModule$MethodClumper of org.jruby.RubyModule