public class org.glassfish.jersey.internal.inject.Injections
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.internal.inject.Injections
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/internal/inject/Injections;
public static org.glassfish.jersey.internal.inject.InjectionManager createInjectionManager();
descriptor: ()Lorg/glassfish/jersey/internal/inject/InjectionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.glassfish.jersey.internal.inject.Injections.lookupInjectionManagerFactory:()Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
invokeinterface org.glassfish.jersey.internal.inject.InjectionManagerFactory.create:()Lorg/glassfish/jersey/internal/inject/InjectionManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.jersey.internal.inject.InjectionManager createInjectionManager(org.glassfish.jersey.internal.inject.Binder);
descriptor: (Lorg/glassfish/jersey/internal/inject/Binder;)Lorg/glassfish/jersey/internal/inject/InjectionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic org.glassfish.jersey.internal.inject.Injections.lookupInjectionManagerFactory:()Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
astore 1
start local 1 1: aload 1
invokeinterface org.glassfish.jersey.internal.inject.InjectionManagerFactory.create:()Lorg/glassfish/jersey/internal/inject/InjectionManager;
astore 2
start local 2 2: aload 2
aload 0
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.register:(Lorg/glassfish/jersey/internal/inject/Binder;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 binder Lorg/glassfish/jersey/internal/inject/Binder;
1 4 1 injectionManagerFactory Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
2 4 2 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
MethodParameters:
Name Flags
binder
public static org.glassfish.jersey.internal.inject.InjectionManager createInjectionManager(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/glassfish/jersey/internal/inject/InjectionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.glassfish.jersey.internal.inject.Injections.lookupInjectionManagerFactory:()Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
aload 0
invokeinterface org.glassfish.jersey.internal.inject.InjectionManagerFactory.create:(Ljava/lang/Object;)Lorg/glassfish/jersey/internal/inject/InjectionManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 parent Ljava/lang/Object;
MethodParameters:
Name Flags
parent
private static org.glassfish.jersey.internal.inject.InjectionManagerFactory lookupInjectionManagerFactory();
descriptor: ()Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/jersey/internal/inject/InjectionManagerFactory;
invokestatic org.glassfish.jersey.internal.inject.Injections.lookupService:(Ljava/lang/Class;)Ljava/util/Optional;
1: 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;
org/glassfish/jersey/internal/inject/Injections.lambda$0()Ljava/lang/IllegalStateException; (6)
()Ljava/lang/IllegalStateException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.glassfish.jersey.internal.inject.InjectionManagerFactory
2: areturn
LocalVariableTable:
Start End Slot Name Signature
private static <T> java.util.Optional<T> lookupService(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/Optional;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, 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 0
invokestatic org.glassfish.jersey.internal.ServiceFinder.find:(Ljava/lang/Class;)Lorg/glassfish/jersey/internal/ServiceFinder;
invokevirtual org.glassfish.jersey.internal.ServiceFinder.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.Class 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
new org.glassfish.jersey.model.internal.RankedProvider
dup
aload 2
invokespecial org.glassfish.jersey.model.internal.RankedProvider.<init>:(Ljava/lang/Object;)V
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
new org.glassfish.jersey.model.internal.RankedComparator
dup
getstatic org.glassfish.jersey.model.internal.RankedComparator$Order.DESCENDING:Lorg/glassfish/jersey/model/internal/RankedComparator$Order;
invokespecial org.glassfish.jersey.model.internal.RankedComparator.<init>:(Lorg/glassfish/jersey/model/internal/RankedComparator$Order;)V
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
6: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
goto 8
StackMap locals: java.lang.Class java.util.List
StackMap stack:
7: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.model.internal.RankedProvider
invokevirtual org.glassfish.jersey.model.internal.RankedProvider.getProvider:()Ljava/lang/Object;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
8: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 clazz Ljava/lang/Class<TT;>;
1 9 1 providers Ljava/util/List<Lorg/glassfish/jersey/model/internal/RankedProvider<TT;>;>;
3 4 2 provider TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/util/Optional<TT;>;
MethodParameters:
Name Flags
clazz final
public static <T> T getOrCreate(org.glassfish.jersey.internal.inject.InjectionManager, java.lang.Class<T>);
descriptor: (Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.getInstance:(Ljava/lang/Class;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
aload 1
invokeinterface org.glassfish.jersey.internal.inject.InjectionManager.createAndInitialize:(Ljava/lang/Class;)Ljava/lang/Object;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 4: StackMap locals: org.glassfish.jersey.internal.inject.InjectionManager java.lang.Class
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 5: aload 2
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
astore 3
start local 3 6: aload 3
ifnull 8
ldc Ljavax/ws/rs/WebApplicationException;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
7: aload 3
checkcast javax.ws.rs.WebApplicationException
athrow
8: StackMap locals: java.lang.RuntimeException java.lang.Throwable
StackMap stack:
aload 2
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 injectionManager Lorg/glassfish/jersey/internal/inject/InjectionManager;
0 9 1 clazz Ljava/lang/Class<TT;>;
1 4 2 component TT;
5 9 2 e Ljava/lang/RuntimeException;
6 9 3 throwable Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.RuntimeException
Signature: <T:Ljava/lang/Object;>(Lorg/glassfish/jersey/internal/inject/InjectionManager;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
injectionManager
clazz final
private static java.lang.IllegalStateException lambda$0();
descriptor: ()Ljava/lang/IllegalStateException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.IllegalStateException
dup
invokestatic org.glassfish.jersey.internal.LocalizationMessages.INJECTION_MANAGER_FACTORY_NOT_FOUND:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Injections.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Order = org.glassfish.jersey.model.internal.RankedComparator$Order of org.glassfish.jersey.model.internal.RankedComparator