public final class org.glassfish.jersey.internal.ServiceFinder<T> implements java.lang.Iterable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.internal.ServiceFinder
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "META-INF/services/"
private final java.lang.Class<T> serviceClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
private final java.lang.String serviceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ignoreOnClassNotFound;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Lorg/glassfish/jersey/internal/ServiceFinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
1: invokestatic org.glassfish.jersey.internal.util.ReflectionHelper.getOsgiRegistryInstance:()Lorg/glassfish/jersey/internal/OsgiRegistry;
astore 0
start local 0 2: aload 0
ifnull 6
3: getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
ldc "Running in an OSGi environment"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: aload 0
invokevirtual org.glassfish.jersey.internal.OsgiRegistry.hookUp:()V
5: goto 7
6: StackMap locals: org.glassfish.jersey.internal.OsgiRegistry
StackMap stack:
getstatic org.glassfish.jersey.internal.ServiceFinder.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
ldc "Running in a non-OSGi environment"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 0 7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 7 0 osgiRegistry Lorg/glassfish/jersey/internal/OsgiRegistry;
private static java.util.Enumeration<java.net.URL> getResources(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aload 1
invokestatic org.glassfish.jersey.internal.ServiceFinder.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 2
start local 2 3: aload 2
ifnull 5
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 5
4: aload 2
areturn
5: StackMap locals: java.util.Enumeration
StackMap stack:
aload 1
invokestatic org.glassfish.jersey.internal.ServiceFinder.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 loader Ljava/lang/ClassLoader;
0 6 1 name Ljava/lang/String;
3 6 2 resources Ljava/util/Enumeration<Ljava/net/URL;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
loader final
name final
private static java.util.Enumeration<java.net.URL> getResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/glassfish/jersey/internal/ServiceFinder;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnull 2
1: ldc Lorg/glassfish/jersey/internal/ServiceFinder;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 0
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.ClassLoader.getSystemResources:(Ljava/lang/String;)Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name final
private static java.lang.ClassLoader _getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.glassfish.jersey.internal.util.ReflectionHelper.getContextClassLoaderPA:()Ljava/security/PrivilegedAction;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
LocalVariableTable:
Start End Slot Name Signature
public static <T> org.glassfish.jersey.internal.ServiceFinder<T> find(java.lang.Class<T>, java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;)Lorg/glassfish/jersey/internal/ServiceFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
2: iconst_0
3: invokestatic org.glassfish.jersey.internal.ServiceFinder.find:(Ljava/lang/Class;Ljava/lang/ClassLoader;Z)Lorg/glassfish/jersey/internal/ServiceFinder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 service Ljava/lang/Class<TT;>;
0 4 1 loader Ljava/lang/ClassLoader;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;)Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
MethodParameters:
Name Flags
service final
loader final
public static <T> org.glassfish.jersey.internal.ServiceFinder<T> find(java.lang.Class<T>, java.lang.ClassLoader, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;Z)Lorg/glassfish/jersey/internal/ServiceFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.glassfish.jersey.internal.ServiceFinder
dup
aload 0
1: aload 1
2: iload 2
3: invokespecial org.glassfish.jersey.internal.ServiceFinder.<init>:(Ljava/lang/Class;Ljava/lang/ClassLoader;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 service Ljava/lang/Class<TT;>;
0 4 1 loader Ljava/lang/ClassLoader;
0 4 2 ignoreOnClassNotFound Z
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;Z)Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
MethodParameters:
Name Flags
service final
loader final
ignoreOnClassNotFound final
public static <T> org.glassfish.jersey.internal.ServiceFinder<T> find(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/glassfish/jersey/internal/ServiceFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
1: invokestatic org.glassfish.jersey.internal.ServiceFinder._getContextClassLoader:()Ljava/lang/ClassLoader;
2: iconst_0
3: invokestatic org.glassfish.jersey.internal.ServiceFinder.find:(Ljava/lang/Class;Ljava/lang/ClassLoader;Z)Lorg/glassfish/jersey/internal/ServiceFinder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 service Ljava/lang/Class<TT;>;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
MethodParameters:
Name Flags
service final
public static <T> org.glassfish.jersey.internal.ServiceFinder<T> find(java.lang.Class<T>, boolean);
descriptor: (Ljava/lang/Class;Z)Lorg/glassfish/jersey/internal/ServiceFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: invokestatic org.glassfish.jersey.internal.ServiceFinder._getContextClassLoader:()Ljava/lang/ClassLoader;
2: iload 1
3: invokestatic org.glassfish.jersey.internal.ServiceFinder.find:(Ljava/lang/Class;Ljava/lang/ClassLoader;Z)Lorg/glassfish/jersey/internal/ServiceFinder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 service Ljava/lang/Class<TT;>;
0 4 1 ignoreOnClassNotFound Z
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Z)Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
MethodParameters:
Name Flags
service final
ignoreOnClassNotFound final
public static org.glassfish.jersey.internal.ServiceFinder<?> find(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/jersey/internal/ServiceFinder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.glassfish.jersey.internal.ServiceFinder
dup
ldc Ljava/lang/Object;
aload 0
invokestatic org.glassfish.jersey.internal.ServiceFinder._getContextClassLoader:()Ljava/lang/ClassLoader;
iconst_0
invokespecial org.glassfish.jersey.internal.ServiceFinder.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 serviceName Ljava/lang/String;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: (Ljava/lang/String;)Lorg/glassfish/jersey/internal/ServiceFinder<*>;
MethodParameters:
Name Flags
serviceName final
public static void setIteratorProvider(org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider);
descriptor: (Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider.setInstance:(Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 sip Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
sip final
private void <init>(java.lang.Class<T>, java.lang.ClassLoader, );
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
iload 3
invokespecial org.glassfish.jersey.internal.ServiceFinder.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
1: return
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<TT;>;
0 2 1 service Ljava/lang/Class<TT;>;
0 2 2 loader Ljava/lang/ClassLoader;
0 2 3 ignoreOnClassNotFound Z
Signature: (Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;Z)V
MethodParameters:
Name Flags
service final
loader final
ignoreOnClassNotFound final
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=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.jersey.internal.ServiceFinder.serviceClass:Ljava/lang/Class;
2: aload 0
aload 2
putfield org.glassfish.jersey.internal.ServiceFinder.serviceName:Ljava/lang/String;
3: aload 0
aload 3
putfield org.glassfish.jersey.internal.ServiceFinder.classLoader:Ljava/lang/ClassLoader;
4: aload 0
iload 4
putfield org.glassfish.jersey.internal.ServiceFinder.ignoreOnClassNotFound:Z
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
0 6 1 service Ljava/lang/Class<TT;>;
0 6 2 serviceName Ljava/lang/String;
0 6 3 loader Ljava/lang/ClassLoader;
0 6 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 java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider.getInstance:()Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;
1: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.serviceClass:Ljava/lang/Class;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.serviceName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.classLoader:Ljava/lang/ClassLoader;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.ignoreOnClassNotFound:Z
invokevirtual org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider.createIterator:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/util/Iterator;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public T[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.glassfish.jersey.internal.ServiceFinder.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.glassfish.jersey.internal.ServiceFinder java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.serviceClass:Ljava/lang/Class;
aload 1
invokeinterface java.util.List.size:()I
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
1 6 1 result Ljava/util/List<TT;>;
3 4 2 t TT;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: ()[TT;
public java.lang.Class<T>[] toClassArray();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: invokestatic org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider.getInstance:()Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;
astore 2
start local 2 2: aload 2
3: aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.serviceClass:Ljava/lang/Class;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.serviceName:Ljava/lang/String;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.classLoader:Ljava/lang/ClassLoader;
aload 0
getfield org.glassfish.jersey.internal.ServiceFinder.ignoreOnClassNotFound:Z
invokevirtual org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider.createClassIterator:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/util/Iterator;
4: astore 3
start local 3 5: goto 7
6: StackMap locals: java.util.List org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider java.util.Iterator
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
8: aload 1
ldc Ljava/lang/Class;
aload 1
invokeinterface java.util.List.size:()I
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Class[]
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/jersey/internal/ServiceFinder<TT;>;
1 9 1 result Ljava/util/List<Ljava/lang/Class<TT;>;>;
2 9 2 iteratorProvider Lorg/glassfish/jersey/internal/ServiceFinder$ServiceIteratorProvider;
5 9 3 i Ljava/util/Iterator<Ljava/lang/Class<TT;>;>;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: ()[Ljava/lang/Class<TT;>;
private static void fail(java.lang.String, java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.glassfish.jersey.internal.ServiceConfigurationError
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.glassfish.jersey.internal.ServiceConfigurationError.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
aload 2
invokevirtual org.glassfish.jersey.internal.ServiceConfigurationError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
2: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 serviceName Ljava/lang/String;
0 3 1 msg Ljava/lang/String;
0 3 2 cause Ljava/lang/Throwable;
1 3 3 sce Lorg/glassfish/jersey/internal/ServiceConfigurationError;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
MethodParameters:
Name Flags
serviceName final
msg final
cause final
private static void fail(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.glassfish.jersey.internal.ServiceConfigurationError
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.glassfish.jersey.internal.ServiceConfigurationError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 serviceName Ljava/lang/String;
0 1 1 msg Ljava/lang/String;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
MethodParameters:
Name Flags
serviceName final
msg final
private static void fail(java.lang.String, java.net.URL, int, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/net/URL;ILjava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 serviceName Ljava/lang/String;
0 2 1 u Ljava/net/URL;
0 2 2 line I
0 2 3 msg Ljava/lang/String;
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
MethodParameters:
Name Flags
serviceName final
u final
line final
msg final
private static int parseLine(java.lang.String, java.net.URL, java.io.BufferedReader, int, java.util.List<java.lang.String>, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/net/URL;Ljava/io/BufferedReader;ILjava/util/List;Ljava/util/Set;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 6
start local 6 1: aload 6
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 6
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 4: iload 7
iflt 6
5: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
6: StackMap locals: int
StackMap stack:
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
7: aload 6
invokevirtual java.lang.String.length:()I
istore 8
start local 8 8: iload 8
ifeq 24
9: aload 6
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
ifge 10
aload 6
bipush 9
invokevirtual java.lang.String.indexOf:(I)I
iflt 11
10: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 3
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ILLEGAL_CONFIG_SYNTAX:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/net/URL;ILjava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 6
iconst_0
invokevirtual java.lang.String.codePointAt:(I)I
istore 9
start local 9 12: iload 9
invokestatic java.lang.Character.isJavaIdentifierStart:(I)Z
ifne 14
13: aload 0
aload 1
iload 3
aload 6
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ILLEGAL_PROVIDER_CLASS_NAME:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/net/URL;ILjava/lang/String;)V
14: StackMap locals: int
StackMap stack:
iload 9
invokestatic java.lang.Character.charCount:(I)I
istore 10
start local 10 15: goto 20
16: StackMap locals: int
StackMap stack:
aload 6
iload 10
invokevirtual java.lang.String.codePointAt:(I)I
istore 9
17: iload 9
invokestatic java.lang.Character.isJavaIdentifierPart:(I)Z
ifne 19
iload 9
bipush 46
if_icmpeq 19
18: aload 0
aload 1
iload 3
aload 6
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ILLEGAL_PROVIDER_CLASS_NAME:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/net/URL;ILjava/lang/String;)V
19: StackMap locals:
StackMap stack:
iload 10
iload 9
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 10
StackMap locals:
StackMap stack:
20: iload 10
iload 8
if_icmplt 16
end local 10 21: aload 5
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 24
22: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 5
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 24: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 serviceName Ljava/lang/String;
0 25 1 u Ljava/net/URL;
0 25 2 r Ljava/io/BufferedReader;
0 25 3 lc I
0 25 4 names Ljava/util/List<Ljava/lang/String;>;
0 25 5 returned Ljava/util/Set<Ljava/lang/String;>;
1 25 6 ln Ljava/lang/String;
4 25 7 ci I
8 25 8 n I
12 24 9 cp I
15 21 10 i I
Exceptions:
throws java.io.IOException, org.glassfish.jersey.internal.ServiceConfigurationError
Signature: (Ljava/lang/String;Ljava/net/URL;Ljava/io/BufferedReader;ILjava/util/List<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;)I
MethodParameters:
Name Flags
serviceName final
u final
r final
lc final
names final
returned final
private static java.util.Iterator<java.lang.String> parse(java.lang.String, java.net.URL, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/net/URL;Ljava/util/Set;)Ljava/util/Iterator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: aload 1
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 6
start local 6 4: aload 6
iconst_0
invokevirtual java.net.URLConnection.setUseCaches:(Z)V
5: aload 6
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 3
6: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 3
ldc "utf-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
7: iconst_1
istore 7
start local 7 8: StackMap locals: java.lang.String java.net.URL java.util.Set java.io.InputStream java.io.BufferedReader java.util.ArrayList java.net.URLConnection int
StackMap stack:
aload 0
aload 1
aload 4
iload 7
aload 5
aload 2
invokestatic org.glassfish.jersey.internal.ServiceFinder.parseLine:(Ljava/lang/String;Ljava/net/URL;Ljava/io/BufferedReader;ILjava/util/List;Ljava/util/Set;)I
dup
istore 7
ifge 8
end local 7 end local 6 9: goto 29
StackMap locals: java.lang.String java.net.URL java.util.Set java.io.InputStream java.io.BufferedReader java.util.ArrayList
StackMap stack: java.io.IOException
10: astore 6
start local 6 11: aload 0
new java.lang.StringBuilder
dup
ldc ": "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 12: aload 4
ifnull 14
13: aload 4
invokevirtual java.io.BufferedReader.close:()V
14: StackMap locals:
StackMap stack:
aload 3
ifnull 36
15: aload 3
invokevirtual java.io.InputStream.close:()V
16: goto 36
StackMap locals:
StackMap stack: java.io.IOException
17: astore 9
start local 9 18: aload 0
new java.lang.StringBuilder
dup
ldc ": "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
end local 9 19: goto 36
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
21: aload 4
ifnull 23
22: aload 4
invokevirtual java.io.BufferedReader.close:()V
23: StackMap locals: java.lang.String java.net.URL java.util.Set java.io.InputStream java.io.BufferedReader java.util.ArrayList top top java.lang.Throwable
StackMap stack:
aload 3
ifnull 28
24: aload 3
invokevirtual java.io.InputStream.close:()V
25: goto 28
StackMap locals:
StackMap stack: java.io.IOException
26: astore 9
start local 9 27: aload 0
new java.lang.StringBuilder
dup
ldc ": "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
end local 9 28: StackMap locals:
StackMap stack:
aload 8
athrow
29: StackMap locals: java.lang.String java.net.URL java.util.Set java.io.InputStream java.io.BufferedReader java.util.ArrayList
StackMap stack:
aload 4
ifnull 31
30: aload 4
invokevirtual java.io.BufferedReader.close:()V
31: StackMap locals:
StackMap stack:
aload 3
ifnull 36
32: aload 3
invokevirtual java.io.InputStream.close:()V
33: goto 36
StackMap locals:
StackMap stack: java.io.IOException
34: astore 9
start local 9 35: aload 0
new java.lang.StringBuilder
dup
ldc ": "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.ServiceFinder.fail:(Ljava/lang/String;Ljava/lang/String;)V
end local 9 36: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 serviceName Ljava/lang/String;
0 37 1 u Ljava/net/URL;
0 37 2 returned Ljava/util/Set<Ljava/lang/String;>;
1 37 3 in Ljava/io/InputStream;
2 37 4 r Ljava/io/BufferedReader;
3 37 5 names Ljava/util/ArrayList<Ljava/lang/String;>;
4 9 6 uConn Ljava/net/URLConnection;
8 9 7 lc I
11 12 6 x Ljava/io/IOException;
18 19 9 y Ljava/io/IOException;
27 28 9 y Ljava/io/IOException;
35 36 9 y Ljava/io/IOException;
Exception table:
from to target type
3 9 10 Class java.io.IOException
12 16 17 Class java.io.IOException
3 12 20 any
21 25 26 Class java.io.IOException
29 33 34 Class java.io.IOException
Exceptions:
throws org.glassfish.jersey.internal.ServiceConfigurationError
Signature: (Ljava/lang/String;Ljava/net/URL;Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Iterator<Ljava/lang/String;>;
MethodParameters:
Name Flags
serviceName final
u final
returned final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Iterable<TT;>;
SourceFile: "ServiceFinder.java"
NestMembers:
org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator org.glassfish.jersey.internal.ServiceFinder$DefaultServiceIteratorProvider org.glassfish.jersey.internal.ServiceFinder$LazyClassIterator org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider
InnerClasses:
private AbstractLazyIterator = org.glassfish.jersey.internal.ServiceFinder$AbstractLazyIterator of org.glassfish.jersey.internal.ServiceFinder
public final DefaultServiceIteratorProvider = org.glassfish.jersey.internal.ServiceFinder$DefaultServiceIteratorProvider of org.glassfish.jersey.internal.ServiceFinder
private final LazyClassIterator = org.glassfish.jersey.internal.ServiceFinder$LazyClassIterator of org.glassfish.jersey.internal.ServiceFinder
private final LazyObjectIterator = org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator of org.glassfish.jersey.internal.ServiceFinder
public abstract ServiceIteratorProvider = org.glassfish.jersey.internal.ServiceFinder$ServiceIteratorProvider of org.glassfish.jersey.internal.ServiceFinder