class javax.xml.stream.FactoryFinder$1 implements java.security.PrivilegedAction<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.xml.stream.FactoryFinder$1
super_class: java.lang.Object
{
private final java.lang.ClassLoader val$cl;
descriptor: Ljava/lang/ClassLoader;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Class val$type;
descriptor: Ljava/lang/Class;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.ClassLoader, java.lang.Class);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield javax.xml.stream.FactoryFinder$1.val$cl:Ljava/lang/ClassLoader;
aload 0
aload 2
putfield javax.xml.stream.FactoryFinder$1.val$type:Ljava/lang/Class;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/stream/FactoryFinder$1;
MethodParameters:
Name Flags
val$cl final
val$type final
public T run();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.xml.stream.FactoryFinder$1.val$cl:Ljava/lang/ClassLoader;
ifnonnull 3
1: aload 0
getfield javax.xml.stream.FactoryFinder$1.val$type:Ljava/lang/Class;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.xml.stream.FactoryFinder$1.val$type:Ljava/lang/Class;
aload 0
getfield javax.xml.stream.FactoryFinder$1.val$cl:Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 1
start local 1 4: StackMap locals: java.util.ServiceLoader
StackMap stack:
aload 1
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 2
start local 2 5: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 7
6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
7: StackMap locals: java.util.Iterator
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/xml/stream/FactoryFinder$1;
2 3 1 serviceLoader Ljava/util/ServiceLoader<TT;>;
4 8 1 serviceLoader Ljava/util/ServiceLoader<TT;>;
5 8 2 iterator Ljava/util/Iterator<TT;>;
Signature: ()TT;
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedAction<TT;>;
SourceFile: "FactoryFinder.java"
EnclosingMethod: javax.xml.stream.FactoryFinder.findServiceProvider:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
NestHost: javax.xml.stream.FactoryFinder
InnerClasses:
javax.xml.stream.FactoryFinder$1