com.groupbyinc.flux.common.inject.ConstructorInjector.class Maven / Gradle / Ivy
???? 4 ? 5com/groupbyinc/flux/common/inject/ConstructorInjector (Ljava/lang/Object; java/lang/Object ConstructorInjector.java injectableMembers Ljava/util/Set; GLjava/util/Set; parameterInjectors <[Lcom/groupbyinc/flux/common/inject/SingleParameterInjector; ?[Lcom/groupbyinc/flux/common/inject/SingleParameterInjector<*>; constructionProxy 5Lcom/groupbyinc/flux/common/inject/ConstructionProxy; :Lcom/groupbyinc/flux/common/inject/ConstructionProxy; membersInjector 7Lcom/groupbyinc/flux/common/inject/MembersInjectorImpl; ; ?(Ljava/util/Set;Lcom/groupbyinc/flux/common/inject/ConstructionProxy;[Lcom/groupbyinc/flux/common/inject/SingleParameterInjector;Lcom/groupbyinc/flux/common/inject/MembersInjectorImpl;)V :com/groupbyinc/flux/common/inject/internal/ErrorsException ()V
this ; 7Lcom/groupbyinc/flux/common/inject/ConstructorInjector; getInjectableMembers ()Ljava/util/Set; getConstructionProxy 7()Lcom/groupbyinc/flux/common/inject/ConstructionProxy; construct ?(Lcom/groupbyinc/flux/common/inject/internal/Errors;Lcom/groupbyinc/flux/common/inject/internal/InternalContext;Ljava/lang/Class;)Ljava/lang/Object; +java/lang/reflect/InvocationTargetException + :com/groupbyinc/flux/common/inject/internal/InternalContext - getConstructionContext T(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/ConstructionContext; / 0
. 1 >com/groupbyinc/flux/common/inject/internal/ConstructionContext 3 isConstructing ()Z 5 6
4 7 createProxy X(Lcom/groupbyinc/flux/common/inject/internal/Errors;Ljava/lang/Class;)Ljava/lang/Object; 9 :
4 ; getCurrentReference ()Ljava/lang/Object; = >
4 ? startConstruction A
4 B 9com/groupbyinc/flux/common/inject/SingleParameterInjector D getAll ?(Lcom/groupbyinc/flux/common/inject/internal/Errors;Lcom/groupbyinc/flux/common/inject/internal/InternalContext;[Lcom/groupbyinc/flux/common/inject/SingleParameterInjector;)[Ljava/lang/Object; F G
E H 3com/groupbyinc/flux/common/inject/ConstructionProxy J newInstance '([Ljava/lang/Object;)Ljava/lang/Object; L M K N setProxyDelegates (Ljava/lang/Object;)V P Q
4 R finishConstruction T
4 U java/lang/Throwable W setCurrentReference Y Q
4 Z 5com/groupbyinc/flux/common/inject/MembersInjectorImpl \
injectMembers ?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/internal/Errors;Lcom/groupbyinc/flux/common/inject/internal/InternalContext;)V ^ _
] ` notifyListeners H(Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/internal/Errors;)V b c
] d removeCurrentReference f
4 g getCause ()Ljava/lang/Throwable; i j
, k getInjectionPoint 8()Lcom/groupbyinc/flux/common/inject/spi/InjectionPoint; m n K o 1com/groupbyinc/flux/common/inject/internal/Errors q
withSource G(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/Errors; s t
r u errorInjectingConstructor J(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/inject/internal/Errors; w x
r y toException >()Lcom/groupbyinc/flux/common/inject/internal/ErrorsException; { |
r } java/lang/Class
parameters [Ljava/lang/Object; cause Ljava/lang/Throwable;
userException -Ljava/lang/reflect/InvocationTargetException; errors 3Lcom/groupbyinc/flux/common/inject/internal/Errors; context