final class org.jruby.ext.ffi.Factory$SingletonHolder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.Factory$SingletonHolder
super_class: java.lang.Object
{
private static final org.jruby.ext.ffi.Factory INSTANCE;
descriptor: Lorg/jruby/ext/ffi/Factory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.jruby.ext.ffi.Factory$SingletonHolder.getInstance:()Lorg/jruby/ext/ffi/Factory;
putstatic org.jruby.ext.ffi.Factory$SingletonHolder.INSTANCE:Lorg/jruby/ext/ffi/Factory;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/ext/ffi/Factory$SingletonHolder;
private static final org.jruby.ext.ffi.Factory getInstance();
descriptor: ()Lorg/jruby/ext/ffi/Factory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=8, args_size=0
0: ldc "ffi.factory"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: aload 0
ifnull 6
5: aload 2
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List
StackMap stack:
ldc Lorg/jruby/ext/ffi/Factory;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokevirtual java.lang.Package.getName:()Ljava/lang/String;
astore 4
start local 4 7: aload 2
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".jffi.Factory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 10: aload 5
iconst_1
invokestatic org.jruby.Ruby.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.jruby.ext.ffi.Factory
astore 1
11: goto 15
12: StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
astore 7
start local 7 13: aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 14: StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String
StackMap stack:
aload 1
ifnonnull 22
16: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 17: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String java.lang.StringBuilder top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 6
start local 6 19: aload 5
aload 6
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 6 20: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: new org.jruby.ext.ffi.NoImplFactory
dup
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.ext.ffi.NoImplFactory.<init>:(Ljava/lang/String;)V
astore 1
end local 5 22: StackMap locals: java.lang.String org.jruby.ext.ffi.Factory java.util.List java.util.List java.lang.String
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 23 0 providerName Ljava/lang/String;
2 23 1 factory Lorg/jruby/ext/ffi/Factory;
3 23 2 providerNames Ljava/util/List<Ljava/lang/String;>;
4 23 3 errors Ljava/util/List<Ljava/lang/Throwable;>;
7 23 4 prefix Ljava/lang/String;
10 14 5 className Ljava/lang/String;
13 14 7 ex Ljava/lang/Throwable;
17 22 5 sb Ljava/lang/StringBuilder;
19 20 6 t Ljava/lang/Throwable;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
}
SourceFile: "Factory.java"
NestHost: org.jruby.ext.ffi.Factory
InnerClasses:
private final SingletonHolder = org.jruby.ext.ffi.Factory$SingletonHolder of org.jruby.ext.ffi.Factory