final class org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator<T> extends org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator
super_class: org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator
{
private T t;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
private void <init>(java.lang.Class<T>, java.lang.String, java.lang.ClassLoader, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokespecial org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/internal/ServiceFinder$LazyObjectIterator<TT;>;
0 2 1 service Ljava/lang/Class<TT;>;
0 2 2 serviceName Ljava/lang/String;
0 2 3 loader Ljava/lang/ClassLoader;
0 2 4 ignoreOnClassNotFound Z
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
MethodParameters:
Name Flags
service final
serviceName final
loader final
ignoreOnClassNotFound final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
ifnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.setConfigs:()V
3: goto 77
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.configs:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.configs:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.returned:Ljava/util/Set;
invokestatic org.glassfish.jersey.internal.ServiceFinder.parse:(Ljava/lang/String;Ljava/net/URL;Ljava/util/Set;)Ljava/util/Iterator;
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.pending:Ljava/util/Iterator;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.pending:Ljava/util/Iterator;
ifnull 4
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.pending:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
8: aload 0
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.pending:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
9: aload 0
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
10: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.loader:Ljava/lang/ClassLoader;
invokestatic org.glassfish.jersey.internal.util.ReflectionHelper.classForNameWithExceptionPEA:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/security/PrivilegedExceptionAction;
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Class
12: invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
13: invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.t:Ljava/lang/Object;
14: goto 77
StackMap locals:
StackMap stack: java.lang.InstantiationException
15: astore 1
start local 1 16: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.ignoreOnClassNotFound:Z
ifeq 25
17: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 23
18: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
19: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
20: aload 1
invokevirtual java.lang.InstantiationException.getLocalizedMessage:()Ljava/lang/String;
21: invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_COULD_NOT_BE_CREATED:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
22: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
23: StackMap locals: java.lang.InstantiationException
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
24: goto 77
25: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
26: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
aload 1
invokevirtual java.lang.InstantiationException.getLocalizedMessage:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_COULD_NOT_BE_CREATED:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
27: aload 1
28: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 29: goto 77
30: StackMap locals: org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 31: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
32: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
aload 1
invokevirtual java.lang.IllegalAccessException.getLocalizedMessage:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_COULD_NOT_BE_CREATED:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
33: aload 1
34: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 35: goto 77
36: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
37: aload 0
invokevirtual org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.handleClassNotFoundException:()V
goto 77
38: StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
astore 1
start local 1 39: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.ignoreOnClassNotFound:Z
ifeq 47
40: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 45
41: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
42: aload 1
invokevirtual java.lang.NoClassDefFoundError.getLocalizedMessage:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
43: invokestatic org.glassfish.jersey.internal.LocalizationMessages.DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
44: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
45: StackMap locals: java.lang.NoClassDefFoundError
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
46: goto 77
47: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
48: aload 1
invokevirtual java.lang.NoClassDefFoundError.getLocalizedMessage:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
49: aload 1
50: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 51: goto 77
52: StackMap locals: org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 53: aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 54: aload 2
instanceof java.lang.ClassNotFoundException
ifeq 57
55: aload 0
invokevirtual org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.handleClassNotFoundException:()V
56: goto 77
StackMap locals: java.security.PrivilegedActionException java.lang.Throwable
StackMap stack:
57: aload 2
instanceof java.lang.ClassFormatError
ifeq 73
58: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.ignoreOnClassNotFound:Z
ifeq 66
59: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 64
60: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
61: aload 2
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
62: invokestatic org.glassfish.jersey.internal.LocalizationMessages.DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
63: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
64: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
65: goto 77
66: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
67: aload 2
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
68: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
69: invokestatic org.glassfish.jersey.internal.LocalizationMessages.DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
70: aload 2
71: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
72: goto 77
73: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
74: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
aload 2
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_COULD_NOT_BE_CREATED:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
75: aload 2
76: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 end local 1 77: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
ifnull 7
78: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 79 0 this Lorg/glassfish/jersey/internal/ServiceFinder$LazyObjectIterator<TT;>;
16 29 1 ex Ljava/lang/InstantiationException;
31 35 1 ex Ljava/lang/IllegalAccessException;
39 51 1 ex Ljava/lang/NoClassDefFoundError;
53 77 1 pae Ljava/security/PrivilegedActionException;
54 77 2 cause Ljava/lang/Throwable;
Exception table:
from to target type
9 14 15 Class java.lang.InstantiationException
9 14 30 Class java.lang.IllegalAccessException
9 14 36 Class java.lang.ClassNotFoundException
9 14 38 Class java.lang.NoClassDefFoundError
9 14 52 Class java.security.PrivilegedActionException
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
3: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
4: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Loading next object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.t:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()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;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.t:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/jersey/internal/ServiceFinder$LazyObjectIterator<TT;>;
Signature: ()TT;
private void handleClassNotFoundException();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.ignoreOnClassNotFound:Z
ifeq 7
1: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
2: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
3: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_NOT_FOUND:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.serviceName:Ljava/lang/String;
8: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.nextName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.service:Ljava/lang/Class;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.PROVIDER_NOT_FOUND:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
9: invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/jersey/internal/ServiceFinder$LazyObjectIterator<TT;>;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
}
Signature: <T:Ljava/lang/Object;>Lorg/glassfish/jersey/internal/ServiceFinder$AbstractLazyIterator<TT;>;Ljava/util/Iterator<TT;>;
SourceFile: "ServiceFinder.java"
NestHost: org.glassfish.jersey.internal.ServiceFinder
InnerClasses:
private AbstractLazyIterator = org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator of org.glassfish.jersey.internal.ServiceFinder
private final LazyObjectIterator = org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator of org.glassfish.jersey.internal.ServiceFinder