class com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator
super_class: java.lang.Object
{
java.lang.Class<T> service;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<TT;>;
java.lang.ClassLoader loader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0000)
java.util.Enumeration<java.net.URL> configs;
descriptor: Ljava/util/Enumeration;
flags: (0x0000)
Signature: Ljava/util/Enumeration<Ljava/net/URL;>;
java.util.Iterator<java.lang.String> pending;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<Ljava/lang/String;>;
java.util.Set<java.lang.String> returned;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/String;>;
java.lang.String nextName;
descriptor: Ljava/lang/String;
flags: (0x0000)
private void <init>(java.lang.Class<T>, java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
start local 1 // java.lang.Class service
start local 2 // java.lang.ClassLoader loader
0: .line 330
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 325
aload 0 /* this */
aconst_null
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
2: .line 326
aload 0 /* this */
aconst_null
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.pending:Ljava/util/Iterator;
3: .line 327
aload 0 /* this */
new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.returned:Ljava/util/Set;
4: .line 328
aload 0 /* this */
aconst_null
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.nextName:Ljava/lang/String;
5: .line 331
aload 0 /* this */
aload 1 /* service */
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
6: .line 332
aload 0 /* this */
aload 2 /* loader */
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.loader:Ljava/lang/ClassLoader;
7: .line 333
return
end local 2 // java.lang.ClassLoader loader
end local 1 // java.lang.Class service
end local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/ws/policy/privateutil/ServiceFinder$LazyIterator<TT;>;
0 8 1 service Ljava/lang/Class<TT;>;
0 8 2 loader Ljava/lang/ClassLoader;
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;)V
MethodParameters:
Name Flags
service
loader
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
0: .line 336
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.nextName:Ljava/lang/String;
ifnull 2
1: .line 337
iconst_1
ireturn
2: .line 339
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
ifnonnull 14
3: .line 341
new java.lang.StringBuilder
dup
ldc "META-INF/services/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service: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;
astore 1 /* fullName */
start local 1 // java.lang.String fullName
4: .line 342
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.loader:Ljava/lang/ClassLoader;
ifnonnull 6
5: .line 343
aload 0 /* this */
aload 1 /* fullName */
invokestatic java.lang.ClassLoader.getSystemResources:(Ljava/lang/String;)Ljava/util/Enumeration;
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
goto 14
6: .line 345
StackMap locals: java.lang.String
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.loader:Ljava/lang/ClassLoader;
aload 1 /* fullName */
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
end local 1 // java.lang.String fullName
7: .line 346
goto 14
StackMap locals: com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator
StackMap stack: java.io.IOException
8: astore 1 /* x */
start local 1 // java.io.IOException x
9: .line 347
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
new java.lang.StringBuilder
dup
ldc ": "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* x */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1 /* x */
invokestatic com.sun.xml.internal.ws.policy.privateutil.ServiceFinder.fail:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 // java.io.IOException x
10: .line 350
goto 14
11: .line 351
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 13
12: .line 352
iconst_0
ireturn
13: .line 354
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.configs:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.returned:Ljava/util/Set;
invokestatic com.sun.xml.internal.ws.policy.privateutil.ServiceFinder.parse:(Ljava/lang/Class;Ljava/net/URL;Ljava/util/Set;)Ljava/util/Iterator;
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.pending:Ljava/util/Iterator;
14: .line 350
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.pending:Ljava/util/Iterator;
ifnull 11
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.pending:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
15: .line 356
aload 0 /* this */
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.pending:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.nextName:Ljava/lang/String;
16: .line 357
iconst_1
ireturn
end local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/ws/policy/privateutil/ServiceFinder$LazyIterator<TT;>;
4 7 1 fullName Ljava/lang/String;
9 10 1 x Ljava/io/IOException;
Exception table:
from to target type
3 7 8 Class java.io.IOException
Exceptions:
throws com.sun.xml.internal.ws.policy.privateutil.ServiceConfigurationError
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
0: .line 361
aload 0 /* this */
invokevirtual com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.hasNext:()Z
ifne 2
1: .line 362
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: .line 364
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.nextName:Ljava/lang/String;
astore 1 /* cn */
start local 1 // java.lang.String cn
3: .line 365
aload 0 /* this */
aconst_null
putfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.nextName:Ljava/lang/String;
4: .line 367
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
aload 1 /* cn */
iconst_1
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.loader: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;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
6: .line 368
StackMap locals: com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator java.lang.String
StackMap stack: java.lang.ClassNotFoundException
astore 2 /* x */
start local 2 // java.lang.ClassNotFoundException x
7: .line 369
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
aload 1 /* cn */
invokestatic com.sun.xml.internal.ws.policy.privateutil.LocalizationMessages.WSP_0027_SERVICE_PROVIDER_NOT_FOUND:(Ljava/lang/Object;)Ljava/lang/String;
aload 2 /* x */
invokestatic com.sun.xml.internal.ws.policy.privateutil.ServiceFinder.fail:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 // java.lang.ClassNotFoundException x
8: goto 11
9: .line 370
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* x */
start local 2 // java.lang.Exception x
10: .line 371
aload 0 /* this */
getfield com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator.service:Ljava/lang/Class;
aload 1 /* cn */
invokestatic com.sun.xml.internal.ws.policy.privateutil.LocalizationMessages.WSP_0028_SERVICE_PROVIDER_COULD_NOT_BE_INSTANTIATED:(Ljava/lang/Object;)Ljava/lang/String;
aload 2 /* x */
invokestatic com.sun.xml.internal.ws.policy.privateutil.ServiceFinder.fail:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 // java.lang.Exception x
11: .line 373
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 // java.lang.String cn
end local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/xml/internal/ws/policy/privateutil/ServiceFinder$LazyIterator<TT;>;
3 12 1 cn Ljava/lang/String;
7 8 2 x Ljava/lang/ClassNotFoundException;
10 11 2 x Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.ClassNotFoundException
4 5 9 Class java.lang.Exception
Exceptions:
throws com.sun.xml.internal.ws.policy.privateutil.ServiceConfigurationError
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
0: .line 377
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 // com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/policy/privateutil/ServiceFinder$LazyIterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ServiceFinder.java"
NestHost: com.sun.xml.internal.ws.policy.privateutil.ServiceFinder
InnerClasses:
private LazyIterator = com.sun.xml.internal.ws.policy.privateutil.ServiceFinder$LazyIterator of com.sun.xml.internal.ws.policy.privateutil.ServiceFinder