com.groupbyinc.flux.common.inject.internal.PrivateElementsImpl.class Maven / Gradle / Ivy
???? 4 ? >com/groupbyinc/flux/common/inject/internal/PrivateElementsImpl java/lang/Object 5com/groupbyinc/flux/common/inject/spi/PrivateElements PrivateElementsImpl.java java/util/Map$Entry
java/util/Map
Entry source Ljava/lang/Object; elementsMutable Ljava/util/List; ALjava/util/List; exposureBuilders QLjava/util/List;>; elements exposedKeysToSources Ljava/util/Map; MLjava/util/Map;Ljava/lang/Object;>; injector ,Lcom/groupbyinc/flux/common/inject/Injector; (Ljava/lang/Object;)V ()V
java/util/ArrayList
" $
java/util/Objects ' requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ) *
( +
- this @Lcom/groupbyinc/flux/common/inject/internal/PrivateElementsImpl; getSource ()Ljava/lang/Object; getElements ()Ljava/util/List; 5 java/util/Collections 7 unmodifiableList "(Ljava/util/List;)Ljava/util/List; 9 :
8 ; getInjector .()Lcom/groupbyinc/flux/common/inject/Injector; ? initInjector /(Lcom/groupbyinc/flux/common/inject/Injector;)V java/lang/IllegalStateException C injector already initialized E (Ljava/lang/String;)V G
D H *com/groupbyinc/flux/common/inject/Injector K getExposedKeys ()Ljava/util/Set; O java/util/LinkedHashMap Q
R java/util/List T iterator ()Ljava/util/Iterator; V W U X java/util/Iterator Z hasNext ()Z \ ] [ ^ next ` 2 [ a :com/groupbyinc/flux/common/inject/internal/ExposureBuilder c getKey )()Lcom/groupbyinc/flux/common/inject/Key; e f
d g 1 2
d i put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; k l m unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; o p
8 q keySet s N t exposureBuilder ?Lcom/groupbyinc/flux/common/inject/internal/ExposureBuilder<*>;