public final class org.glassfish.jersey.internal.inject.Providers
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.internal.inject.Providers
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.util.Map<java.lang.Class<?>, org.glassfish.jersey.internal.inject.Providers$ProviderRuntime> JAX_RS_PROVIDER_INTERFACE_WHITELIST;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
private static final java.util.Map<java.lang.Class<?>, org.glassfish.jersey.internal.inject.Providers$ProviderRuntime> EXTERNAL_PROVIDER_INTERFACE_WHITELIST;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/jersey/internal/inject/Providers;
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.inject.Providers.LOGGER:Ljava/util/logging/Logger;
1: invokestatic org.glassfish.jersey.internal.inject.Providers.getJaxRsProviderInterfaces:()Ljava/util/Map;
2: putstatic org.glassfish.jersey.internal.inject.Providers.JAX_RS_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
3: invokestatic org.glassfish.jersey.internal.inject.Providers.getExternalProviderInterfaces:()Ljava/util/Map;
4: putstatic org.glassfish.jersey.internal.inject.Providers.EXTERNAL_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
5: 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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/internal/inject/Providers;
private static java.util.Map<java.lang.Class<?>, org.glassfish.jersey.internal.inject.Providers$ProviderRuntime> getJaxRsProviderInterfaces();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: aload 0
ldc Ljavax/ws/rs/ext/ContextResolver;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
ldc Ljavax/ws/rs/ext/ExceptionMapper;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc Ljavax/ws/rs/ext/MessageBodyReader;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc Ljavax/ws/rs/ext/MessageBodyWriter;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc Ljavax/ws/rs/ext/ReaderInterceptor;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
ldc Ljavax/ws/rs/ext/WriterInterceptor;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc Ljavax/ws/rs/ext/ParamConverterProvider;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
ldc Ljavax/ws/rs/container/ContainerRequestFilter;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.SERVER:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
ldc Ljavax/ws/rs/container/ContainerResponseFilter;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.SERVER:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
ldc Ljavax/ws/rs/container/DynamicFeature;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.SERVER:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
ldc Ljavax/ws/rs/client/ClientResponseFilter;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.CLIENT:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
ldc Ljavax/ws/rs/client/ClientRequestFilter;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.CLIENT:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
ldc Ljavax/ws/rs/client/RxInvokerProvider;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.CLIENT:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 15 0 interfaces Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
Signature: ()Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
private static java.util.Map<java.lang.Class<?>, org.glassfish.jersey.internal.inject.Providers$ProviderRuntime> getExternalProviderInterfaces();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: aload 0
getstatic org.glassfish.jersey.internal.inject.Providers.JAX_RS_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: aload 0
ldc Ljavax/ws/rs/core/Feature;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc Lorg/glassfish/jersey/internal/inject/Binder;
getstatic org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.BOTH:Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 interfaces Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
Signature: ()Ljava/util/Map<Ljava/lang/Class<*>;Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;>;
public static <T> java.util.Set<T> getProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
anewarray java.lang.annotation.Annotation
invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
astore 2
start local 2 1: aload 2
invokestatic org.glassfish.jersey.internal.inject.Providers.getProviderClasses:(Ljava/util/Collection;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 2 1 contract Ljava/lang/Class<TT;>;
1 2 2 providers Ljava/util/Collection<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
public static <T> java.util.Set<T> getCustomProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
2: invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)I
org/glassfish/jersey/internal/inject/Providers.getPriority(Ljava/lang/Class;)I (6)
(Ljava/lang/Class;)I
invokestatic java.util.Comparator.comparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;
iconst_1
anewarray java.lang.annotation.Annotation
dup
iconst_0
3: getstatic org.glassfish.jersey.internal.inject.CustomAnnotationLiteral.INSTANCE:Lorg/glassfish/jersey/internal/inject/Custom;
aastore
4: invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Ljava/util/Comparator;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
astore 2
start local 2 5: aload 2
invokestatic org.glassfish.jersey.internal.inject.Providers.getProviderClasses:(Ljava/util/Collection;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 6 1 contract Ljava/lang/Class<TT;>;
5 6 2 providers Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
public static <T> java.lang.Iterable<T> getAllProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic org.glassfish.jersey.internal.inject.Providers.getAllProviders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Ljava/util/Comparator;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 1 1 contract Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
public static <T> java.lang.Iterable<org.glassfish.jersey.model.internal.RankedProvider<T>> getAllRankedProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
anewarray java.lang.annotation.Annotation
dup
iconst_0
getstatic org.glassfish.jersey.internal.inject.CustomAnnotationLiteral.INSTANCE:Lorg/glassfish/jersey/internal/inject/Custom;
aastore
invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
astore 2
start local 2 1: aload 2
aload 0
aload 1
iconst_0
anewarray java.lang.annotation.Annotation
invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.glassfish.jersey.internal.inject.InjectionManager java.lang.Class java.util.List java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.internal.inject.ServiceHolder
astore 4
start local 4 5: aload 1
aload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementationClass:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Class;
astore 6
start local 6 6: aload 3
aload 6
invokevirtual java.util.LinkedHashMap.containsKey:(Ljava/lang/Object;)Z
ifne 11
7: aload 1
aload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.isProxyGenerated:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Z
ifeq 8
aload 4
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getContractTypes:()Ljava/util/Set;
goto 9
StackMap locals: org.glassfish.jersey.internal.inject.InjectionManager java.lang.Class java.util.List java.util.LinkedHashMap org.glassfish.jersey.internal.inject.ServiceHolder java.util.Iterator java.lang.Class
StackMap stack:
8: aconst_null
StackMap locals:
StackMap stack: java.util.Set
9: astore 7
start local 7 10: aload 3
aload 6
new org.glassfish.jersey.model.internal.RankedProvider
dup
aload 4
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getInstance:()Ljava/lang/Object;
aload 4
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getRank:()I
aload 7
invokespecial org.glassfish.jersey.model.internal.RankedProvider.<init>:(Ljava/lang/Object;ILjava/util/Set;)V
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 4 11: StackMap locals: org.glassfish.jersey.internal.inject.InjectionManager java.lang.Class java.util.List java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 3
invokevirtual java.util.LinkedHashMap.values:()Ljava/util/Collection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 13 1 contract Ljava/lang/Class<TT;>;
1 13 2 providers Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
3 13 3 providerMap Ljava/util/LinkedHashMap<Ljava/lang/Class<TT;>;Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
5 11 4 provider Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
6 11 6 implClass Ljava/lang/Class<TT;>;
10 11 7 contracts Ljava/util/Set<Ljava/lang/reflect/Type;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
MethodParameters:
Name Flags
injectionManager
contract
public static <T> java.lang.Iterable<T> sortRankedProviders(org.glassfish.jersey.model.internal.RankedComparator<T>, java.lang.Iterable<org.glassfish.jersey.model.internal.RankedProvider<T>>);
descriptor: (Lorg/glassfish/jersey/model/internal/RankedComparator;Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
1: aload 0
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
2: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/model/internal/RankedProvider.getProvider()Ljava/lang/Object; (5)
(Lorg/glassfish/jersey/model/internal/RankedProvider;)Ljava/lang/Object;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.Iterable
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 comparator Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;
0 5 1 providers Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
comparator final
providers final
public static <T> java.lang.Iterable<T> getAllRankedSortedProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.getAllRankedProviders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Iterable;
astore 2
start local 2 1: new org.glassfish.jersey.model.internal.RankedComparator
dup
invokespecial org.glassfish.jersey.model.internal.RankedComparator.<init>:()V
aload 2
invokestatic org.glassfish.jersey.internal.inject.Providers.sortRankedProviders:(Lorg/glassfish/jersey/model/internal/RankedComparator;Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 2 1 contract Ljava/lang/Class<TT;>;
1 2 2 allRankedProviders Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
public static <T> java.lang.Iterable<T> mergeAndSortRankedProviders(org.glassfish.jersey.model.internal.RankedComparator<T>, java.lang.Iterable<java.lang.Iterable<org.glassfish.jersey.model.internal.RankedProvider<T>>>);
descriptor: (Lorg/glassfish/jersey/model/internal/RankedComparator;Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/internal/inject/Providers.lambda$2(Ljava/lang/Iterable;)Ljava/util/stream/Stream; (6)
(Ljava/lang/Iterable;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: aload 0
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/model/internal/RankedProvider.getProvider()Ljava/lang/Object; (5)
(Lorg/glassfish/jersey/model/internal/RankedProvider;)Ljava/lang/Object;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.Iterable
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 comparator Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;
0 6 1 providerIterables Ljava/lang/Iterable<Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;Ljava/lang/Iterable<Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
comparator final
providerIterables final
public static <T> java.lang.Iterable<T> getAllProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>, org.glassfish.jersey.model.internal.RankedComparator<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Lorg/glassfish/jersey/model/internal/RankedComparator;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.getAllRankedProviders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Iterable;
invokestatic org.glassfish.jersey.internal.inject.Providers.sortRankedProviders:(Lorg/glassfish/jersey/model/internal/RankedComparator;Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 1 1 contract Ljava/lang/Class<TT;>;
0 1 2 comparator Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;Lorg/glassfish/jersey/model/internal/RankedComparator<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
comparator
public static <T> java.util.Collection<org.glassfish.jersey.internal.inject.ServiceHolder<T>> getAllServiceHolders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
2: invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)I
org/glassfish/jersey/internal/inject/Providers.getPriority(Ljava/lang/Class;)I (6)
(Ljava/lang/Class;)I
invokestatic java.util.Comparator.comparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;
iconst_1
anewarray java.lang.annotation.Annotation
dup
iconst_0
3: getstatic org.glassfish.jersey.internal.inject.CustomAnnotationLiteral.INSTANCE:Lorg/glassfish/jersey/internal/inject/Custom;
aastore
4: invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Ljava/util/Comparator;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
astore 2
start local 2 5: aload 2
aload 0
aload 1
iconst_0
anewarray java.lang.annotation.Annotation
invokestatic org.glassfish.jersey.internal.inject.Providers.getServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.glassfish.jersey.internal.inject.InjectionManager java.lang.Class java.util.List java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.internal.inject.ServiceHolder
astore 4
start local 4 9: aload 1
aload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementationClass:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Class;
astore 6
start local 6 10: aload 3
aload 6
invokevirtual java.util.LinkedHashMap.containsKey:(Ljava/lang/Object;)Z
ifne 12
11: aload 3
aload 6
aload 4
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: aload 3
invokevirtual java.util.LinkedHashMap.values:()Ljava/util/Collection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 14 1 contract Ljava/lang/Class<TT;>;
5 14 2 providers Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
7 14 3 providerMap Ljava/util/LinkedHashMap<Ljava/lang/Class<TT;>;Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
9 12 4 provider Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
10 12 6 implClass Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)Ljava/util/Collection<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
MethodParameters:
Name Flags
injectionManager
contract
private static <T> java.util.List<org.glassfish.jersey.internal.inject.ServiceHolder<T>> getServiceHolders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>, java.lang.annotation.Annotation[]);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.getAllServiceHolders:(Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bm Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 1 1 contract Ljava/lang/Class<TT;>;
0 1 2 qualifiers [Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;[Ljava/lang/annotation/Annotation;)Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
MethodParameters:
Name Flags
bm
contract
qualifiers
private static <T> java.util.List<org.glassfish.jersey.internal.inject.ServiceHolder<T>> getServiceHolders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>, java.util.Comparator<java.lang.Class<?>>, java.lang.annotation.Annotation[]);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Ljava/util/Comparator;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.getAllServiceHolders:(Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/util/List;
astore 4
start local 4 1: aload 4
aload 2
aload 1
invokedynamic compare(Ljava/util/Comparator;Ljava/lang/Class;)Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
org/glassfish/jersey/internal/inject/Providers.lambda$5(Ljava/util/Comparator;Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)I (6)
(Lorg/glassfish/jersey/internal/inject/ServiceHolder;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 3 1 contract Ljava/lang/Class<TT;>;
0 3 2 objectComparator Ljava/util/Comparator<Ljava/lang/Class<*>;>;
0 3 3 qualifiers [Ljava/lang/annotation/Annotation;
1 3 4 serviceHolders Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;Ljava/util/Comparator<Ljava/lang/Class<*>;>;[Ljava/lang/annotation/Annotation;)Ljava/util/List<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
MethodParameters:
Name Flags
injectionManager
contract
objectComparator
qualifiers
public static boolean isJaxRsProvider(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.glassfish.jersey.internal.inject.Providers.JAX_RS_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.lang.Class top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 2: aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 clazz Ljava/lang/Class<*>;
2 4 1 providerType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
public static <T> java.lang.Iterable<T> getAllProviders(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>, java.util.Comparator<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;Ljava/util/Comparator;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
aload 0
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.getAllServiceHolders:(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/util/Collection;
invokestatic org.glassfish.jersey.internal.inject.Providers.getProviderClasses:(Ljava/util/Collection;)Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 1: aload 2
ifnull 3
2: aload 3
aload 2
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
3: StackMap locals: java.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 4 1 contract Ljava/lang/Class<TT;>;
0 4 2 comparator Ljava/util/Comparator<TT;>;
1 4 3 providerList Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;Ljava/util/Comparator<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
injectionManager
contract
comparator
private static <T> java.util.Set<T> getProviderClasses(java.util.Collection<org.glassfish.jersey.internal.inject.ServiceHolder<T>>);
descriptor: (Ljava/util/Collection;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/internal/inject/Providers.holder2service(Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Object; (6)
(Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Object;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/util/LinkedHashSet.<init>()V (8)
()Ljava/util/LinkedHashSet;
invokestatic java.util.stream.Collectors.toCollection:(Ljava/util/function/Supplier;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 providers Ljava/util/Collection<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
providers final
private static <T> T holder2service(org.glassfish.jersey.internal.inject.ServiceHolder<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getInstance:()Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 holder Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;)TT;
MethodParameters:
Name Flags
holder
private static int getPriority(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc Ljavax/annotation/Priority;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.annotation.Priority
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface javax.annotation.Priority.value:()I
ireturn
3: StackMap locals: javax.annotation.Priority
StackMap stack:
sipush 5000
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 serviceClass Ljava/lang/Class<*>;
1 4 1 annotation Ljavax/annotation/Priority;
Signature: (Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
serviceClass
private static <T> java.lang.Class<T> getImplementationClass(java.lang.Class<T>, org.glassfish.jersey.internal.inject.ServiceHolder<T>);
descriptor: (Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.isProxyGenerated:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Z
ifeq 3
1: aload 1
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getContractTypes:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/glassfish/jersey/internal/inject/Providers.lambda$8(Ljava/lang/reflect/Type;)Z (6)
(Ljava/lang/reflect/Type;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/internal/inject/Providers.lambda$9(Ljava/lang/reflect/Type;)Ljava/lang/Class; (6)
(Ljava/lang/reflect/Type;)Ljava/lang/Class;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
aload 0
invokedynamic apply()Ljava/util/function/BinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
org/glassfish/jersey/internal/inject/Providers.lambda$10(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class; (6)
(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
invokeinterface java.util.stream.Stream.reduce:(Ljava/lang/Object;Ljava/util/function/BinaryOperator;)Ljava/lang/Object;
checkcast java.lang.Class
goto 4
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getImplementationClass:()Ljava/lang/Class;
4: StackMap locals:
StackMap stack: java.lang.Class
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 contract Ljava/lang/Class<TT;>;
0 5 1 serviceHolder Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;)Ljava/lang/Class<TT;>;
MethodParameters:
Name Flags
contract
serviceHolder
private static <T> boolean isProxyGenerated(java.lang.Class<T>, org.glassfish.jersey.internal.inject.ServiceHolder<T>);
descriptor: (Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.glassfish.jersey.internal.inject.ServiceHolder.getImplementationClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 contract Ljava/lang/Class<TT;>;
0 3 1 serviceHolder Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;)Z
MethodParameters:
Name Flags
contract
serviceHolder
public static java.util.Set<java.lang.Class<?>> getProviderContracts(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.computeProviderContracts:(Ljava/lang/Class;Ljava/util/Set;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class<*>;
1 3 1 contracts Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: (Ljava/lang/Class<*>;)Ljava/util/Set<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
clazz final
private static void computeProviderContracts(java.lang.Class<?>, java.util.Set<java.lang.Class<?>>);
descriptor: (Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementedContracts:(Ljava/lang/Class;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.lang.Class java.util.Set top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 2: aload 2
invokestatic org.glassfish.jersey.internal.inject.Providers.isSupportedContract:(Ljava/lang/Class;)Z
ifeq 4
3: aload 1
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: java.lang.Class java.util.Set java.lang.Class java.util.Iterator
StackMap stack:
aload 2
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.computeProviderContracts:(Ljava/lang/Class;Ljava/util/Set;)V
end local 2 5: StackMap locals: java.lang.Class java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class<*>;
0 7 1 contracts Ljava/util/Set<Ljava/lang/Class<*>;>;
2 5 2 contract Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
clazz final
contracts final
public static boolean checkProviderRuntime(java.lang.Class<?>, org.glassfish.jersey.model.ContractProvider, javax.ws.rs.RuntimeType, boolean, );
descriptor: (Ljava/lang/Class;Lorg/glassfish/jersey/model/ContractProvider;Ljavax/ws/rs/RuntimeType;ZZ)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.glassfish.jersey.model.ContractProvider.getContracts:()Ljava/util/Set;
astore 5
start local 5 1: aload 0
ldc Ljavax/ws/rs/ConstrainedTo;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.ConstrainedTo
astore 6
start local 6 2: aload 6
ifnonnull 3
aconst_null
goto 4
StackMap locals: java.util.Set javax.ws.rs.ConstrainedTo
StackMap stack:
3: aload 6
invokeinterface javax.ws.rs.ConstrainedTo.value:()Ljavax/ws/rs/RuntimeType;
StackMap locals:
StackMap stack: javax.ws.rs.RuntimeType
4: astore 7
start local 7 5: ldc Ljavax/ws/rs/core/Feature;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals: javax.ws.rs.RuntimeType
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 8: aload 7
ifnonnull 9
iconst_1
goto 10
StackMap locals: java.lang.StringBuilder
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 9
start local 9 11: iload 4
ifeq 12
aload 2
getstatic javax.ws.rs.RuntimeType.SERVER:Ljavax/ws/rs/RuntimeType;
if_acmpne 12
iconst_1
goto 13
StackMap locals: int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 10
start local 10 14: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 31
StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int top java.util.Iterator
StackMap stack:
15: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 11
start local 11 16: aload 11
aload 7
invokestatic org.glassfish.jersey.internal.inject.Providers.getContractConstraint:(Ljava/lang/Class;Ljavax/ws/rs/RuntimeType;)Ljavax/ws/rs/RuntimeType;
astore 13
start local 13 17: iload 10
aload 13
ifnull 18
aload 13
aload 2
if_acmpeq 18
iconst_0
goto 19
StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int java.lang.Class java.util.Iterator javax.ws.rs.RuntimeType
StackMap stack: int
18: iconst_1
StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int java.lang.Class java.util.Iterator javax.ws.rs.RuntimeType
StackMap stack: int int
19: ior
istore 10
20: aload 7
ifnull 31
21: aload 13
aload 7
if_acmpeq 30
22: aload 8
23: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
24: aload 7
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
25: aload 11
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
26: aload 13
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
27: invokestatic org.glassfish.jersey.internal.LocalizationMessages.WARNING_PROVIDER_CONSTRAINED_TO_WRONG_PACKAGE:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: goto 31
30: StackMap locals:
StackMap stack:
iconst_1
istore 9
end local 13 end local 11 31: StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
32: iload 9
ifne 42
33: aload 8
34: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
35: aload 7
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
36: invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_PROVIDER_CONSTRAINED_TO_WRONG_PACKAGE:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: aload 8
aload 0
iload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.logProviderSkipped:(Ljava/lang/StringBuilder;Ljava/lang/Class;Z)V
39: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 41
40: getstatic org.glassfish.jersey.internal.inject.Providers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
41: StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int
StackMap stack:
iconst_0
ireturn
42: StackMap locals:
StackMap stack:
aload 7
ifnull 43
aload 7
aload 2
if_acmpeq 43
iconst_0
goto 44
StackMap locals:
StackMap stack:
43: iconst_1
StackMap locals:
StackMap stack: int
44: istore 11
start local 11 45: iload 11
ifne 53
iload 3
ifne 53
46: aload 8
47: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
48: aload 7
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
49: aload 2
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
50: invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_PROVIDER_CONSTRAINED_TO_WRONG_RUNTIME:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
51: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
52: aload 8
aload 0
iload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.logProviderSkipped:(Ljava/lang/StringBuilder;Ljava/lang/Class;Z)V
53: StackMap locals: int
StackMap stack:
iload 10
ifne 63
iload 3
ifne 63
54: aload 8
55: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
56: aload 2
invokevirtual javax.ws.rs.RuntimeType.name:()Ljava/lang/String;
57: invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_PROVIDER_REGISTERED_WRONG_RUNTIME:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
58: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
59: aload 8
aload 0
iload 4
invokestatic org.glassfish.jersey.internal.inject.Providers.logProviderSkipped:(Ljava/lang/StringBuilder;Ljava/lang/Class;Z)V
60: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 62
61: getstatic org.glassfish.jersey.internal.inject.Providers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
62: StackMap locals:
StackMap stack:
iconst_0
ireturn
63: StackMap locals:
StackMap stack:
iload 11
ifeq 64
iload 10
ifeq 64
iconst_1
goto 65
StackMap locals:
StackMap stack:
64: iconst_0
StackMap locals:
StackMap stack: int
65: istore 15
66: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 68
67: getstatic org.glassfish.jersey.internal.inject.Providers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
68: StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder int int int top top top int
StackMap stack:
iload 15
ireturn
end local 11 end local 10 end local 9 69: StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder
StackMap stack: java.lang.Throwable
astore 14
70: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 72
71: getstatic org.glassfish.jersey.internal.inject.Providers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
72: StackMap locals: java.lang.Class org.glassfish.jersey.model.ContractProvider javax.ws.rs.RuntimeType int int java.util.Set javax.ws.rs.ConstrainedTo javax.ws.rs.RuntimeType java.lang.StringBuilder top top top top top java.lang.Throwable
StackMap stack:
aload 14
athrow
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 73 0 component Ljava/lang/Class<*>;
0 73 1 model Lorg/glassfish/jersey/model/ContractProvider;
0 73 2 runtimeConstraint Ljavax/ws/rs/RuntimeType;
0 73 3 scanned Z
0 73 4 isResource Z
1 73 5 contracts Ljava/util/Set<Ljava/lang/Class<*>;>;
2 73 6 constrainedTo Ljavax/ws/rs/ConstrainedTo;
5 73 7 componentConstraint Ljavax/ws/rs/RuntimeType;
8 73 8 warnings Ljava/lang/StringBuilder;
11 69 9 foundComponentCompatible Z
14 69 10 foundRuntimeCompatibleContract Z
16 31 11 contract Ljava/lang/Class<*>;
17 31 13 contractConstraint Ljavax/ws/rs/RuntimeType;
45 69 11 isProviderRuntimeCompatible Z
Exception table:
from to target type
8 39 69 any
42 60 69 any
63 66 69 any
Signature: (Ljava/lang/Class<*>;Lorg/glassfish/jersey/model/ContractProvider;Ljavax/ws/rs/RuntimeType;ZZ)Z
MethodParameters:
Name Flags
component final
model final
runtimeConstraint final
scanned final
isResource final
private static void logProviderSkipped(java.lang.StringBuilder, java.lang.Class<?>, );
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/Class;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
ifeq 2
1: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_PROVIDER_AND_RESOURCE_CONSTRAINED_TO_IGNORED:(Ljava/lang/Object;)Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack: java.lang.StringBuilder
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_PROVIDER_CONSTRAINED_TO_IGNORED:(Ljava/lang/Object;)Ljava/lang/String;
3: StackMap locals: java.lang.StringBuilder java.lang.Class int
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sb Ljava/lang/StringBuilder;
0 6 1 provider Ljava/lang/Class<*>;
0 6 2 alsoResourceClass Z
Signature: (Ljava/lang/StringBuilder;Ljava/lang/Class<*>;Z)V
MethodParameters:
Name Flags
sb final
provider final
alsoResourceClass final
public static boolean isSupportedContract(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.jersey.internal.inject.Providers.EXTERNAL_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 1
aload 0
ldc Lorg/glassfish/jersey/spi/Contract;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
private static javax.ws.rs.RuntimeType getContractConstraint(java.lang.Class<?>, javax.ws.rs.RuntimeType);
descriptor: (Ljava/lang/Class;Ljavax/ws/rs/RuntimeType;)Ljavax/ws/rs/RuntimeType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.jersey.internal.inject.Providers.EXTERNAL_PROVIDER_INTERFACE_WHITELIST:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.jersey.internal.inject.Providers$ProviderRuntime
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 2
ifnull 5
3: aload 2
invokevirtual org.glassfish.jersey.internal.inject.Providers$ProviderRuntime.getRuntime:()Ljavax/ws/rs/RuntimeType;
astore 3
4: goto 9
StackMap locals: org.glassfish.jersey.internal.inject.Providers$ProviderRuntime javax.ws.rs.RuntimeType
StackMap stack:
5: aload 0
ldc Lorg/glassfish/jersey/spi/Contract;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 9
6: aload 0
ldc Ljavax/ws/rs/ConstrainedTo;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.ConstrainedTo
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 4
invokeinterface javax.ws.rs.ConstrainedTo.value:()Ljavax/ws/rs/RuntimeType;
astore 3
end local 4 9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
aload 1
goto 11
StackMap locals:
StackMap stack:
10: aload 3
StackMap locals:
StackMap stack: javax.ws.rs.RuntimeType
11: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 clazz Ljava/lang/Class<*>;
0 12 1 defaultConstraint Ljavax/ws/rs/RuntimeType;
1 12 2 jaxRsProvider Lorg/glassfish/jersey/internal/inject/Providers$ProviderRuntime;
2 12 3 result Ljavax/ws/rs/RuntimeType;
7 9 4 constrainedToAnnotation Ljavax/ws/rs/ConstrainedTo;
Signature: (Ljava/lang/Class<*>;Ljavax/ws/rs/RuntimeType;)Ljavax/ws/rs/RuntimeType;
MethodParameters:
Name Flags
clazz final
defaultConstraint final
private static java.lang.Iterable<java.lang.Class<?>> getImplementedContracts(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
2: aload 0
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 1
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: java.util.Collection java.lang.Class
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 clazz Ljava/lang/Class<*>;
1 6 1 list Ljava/util/Collection<Ljava/lang/Class<*>;>;
3 6 2 superclass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Iterable<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
clazz final
public static boolean isProvider(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
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.inject.Providers.findFirstProviderContract:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
public static void ensureContract(java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifgt 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: java.lang.Class java.lang.Class[] java.lang.StringBuilder top int int java.lang.Class[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 0
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
6: aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifle 8
7: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals: java.lang.Class java.lang.Class[] java.lang.StringBuilder java.lang.Class int int java.lang.Class[]
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 9: StackMap locals: java.lang.Class java.lang.Class[] java.lang.StringBuilder top int int java.lang.Class[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 4
11: aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifle 16
12: new java.lang.IllegalArgumentException
dup
13: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
14: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokestatic org.glassfish.jersey.internal.LocalizationMessages.INVALID_SPI_CLASSES:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: java.lang.Class java.lang.Class[] java.lang.StringBuilder
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 contract Ljava/lang/Class<*>;
0 17 1 implementations [Ljava/lang/Class;
3 17 2 invalidClassNames Ljava/lang/StringBuilder;
5 9 3 impl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
contract final
implementations final
private static boolean findFirstProviderContract(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementedContracts:(Ljava/lang/Class;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: java.lang.Class top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 2: aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.isSupportedContract:(Ljava/lang/Class;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals: java.lang.Class java.lang.Class java.util.Iterator
StackMap stack:
aload 1
invokestatic org.glassfish.jersey.internal.inject.Providers.findFirstProviderContract:(Ljava/lang/Class;)Z
ifeq 6
5: iconst_1
ireturn
end local 1 6: StackMap locals: java.lang.Class top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 clazz Ljava/lang/Class<*>;
2 6 1 contract Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz final
private static java.util.stream.Stream lambda$2(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)Ljava/util/stream/Stream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rankedProviders Ljava/lang/Iterable<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
private static int lambda$5(java.util.Comparator, java.lang.Class, org.glassfish.jersey.internal.inject.ServiceHolder, org.glassfish.jersey.internal.inject.ServiceHolder);
descriptor: (Ljava/util/Comparator;Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 2 start local 3 0: aload 0
1: aload 1
aload 2
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementationClass:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Class;
aload 1
aload 3
invokestatic org.glassfish.jersey.internal.inject.Providers.getImplementationClass:(Ljava/lang/Class;Lorg/glassfish/jersey/internal/inject/ServiceHolder;)Ljava/lang/Class;
2: invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
3: ireturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 o1 Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
0 4 3 o2 Lorg/glassfish/jersey/internal/inject/ServiceHolder<TT;>;
private static boolean lambda$8(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/reflect/Type;
private static java.lang.Class lambda$9(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Ljava/lang/Class;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
checkcast java.lang.Class
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/reflect/Type;
private static java.lang.Class lambda$10(java.lang.Class, java.lang.Class);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a Ljava/lang/Class;
0 3 1 b Ljava/lang/Class;
}
SourceFile: "Providers.java"
NestMembers:
org.glassfish.jersey.internal.inject.Providers$ProviderRuntime
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final ProviderRuntime = org.glassfish.jersey.internal.inject.Providers$ProviderRuntime of org.glassfish.jersey.internal.inject.Providers