com.groupbyinc.flux.common.inject.InheritingState.class Maven / Gradle / Ivy
???? 4+ 1com/groupbyinc/flux/common/inject/InheritingState java/lang/Object 'com/groupbyinc/flux/common/inject/State InheritingState.java java/util/Map$Entry
java/util/Map
Entry Ccom/groupbyinc/flux/common/inject/internal/InternalFactory$Instance
:com/groupbyinc/flux/common/inject/internal/InternalFactory Instance parent )Lcom/groupbyinc/flux/common/inject/State; explicitBindingsMutable Ljava/util/Map; iLjava/util/Map;Lcom/groupbyinc/flux/common/inject/Binding<*>;>; explicitBindings scopes oLjava/util/Map;Lcom/groupbyinc/flux/common/inject/Scope;>;
converters Ljava/util/List; RLjava/util/List; listenerBindings MLjava/util/List; blacklistedKeys .Lcom/groupbyinc/flux/common/inject/WeakKeySet; lock Ljava/lang/Object; ,(Lcom/groupbyinc/flux/common/inject/State;)V ()V # %
& java/util/LinkedHashMap (
) & + java/util/Collections - unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; / 0
. 1 3 java/util/HashMap 5
6 & 8 java/util/ArrayList :
; & = ? ,com/groupbyinc/flux/common/inject/WeakKeySet A
B & D java/util/Objects G requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; I J
H K M NONE O P ()Ljava/lang/Object; ! R S ! " U this 3Lcom/groupbyinc/flux/common/inject/InheritingState; +()Lcom/groupbyinc/flux/common/inject/State; getExplicitBinding a(Lcom/groupbyinc/flux/common/inject/Key;)Lcom/groupbyinc/flux/common/inject/internal/BindingImpl; get &(Ljava/lang/Object;)Ljava/lang/Object; \ ] ^ )com/groupbyinc/flux/common/inject/Binding ` 6com/groupbyinc/flux/common/inject/internal/BindingImpl b Z [ d key ,Lcom/groupbyinc/flux/common/inject/Key; 'Lcom/groupbyinc/flux/common/inject/Key; binding .Lcom/groupbyinc/flux/common/inject/Binding<*>; +Lcom/groupbyinc/flux/common/inject/Binding; getExplicitBindingsThisLevel ()Ljava/util/Map;
putBinding b(Lcom/groupbyinc/flux/common/inject/Key;Lcom/groupbyinc/flux/common/inject/internal/BindingImpl;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; p q r *Lcom/groupbyinc/flux/common/inject/Key<*>; ;Lcom/groupbyinc/flux/common/inject/internal/BindingImpl<*>; 8Lcom/groupbyinc/flux/common/inject/internal/BindingImpl; getScope <(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/Scope; 'com/groupbyinc/flux/common/inject/Scope y w x { annotationType 5Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; Ljava/lang/Class; scope )Lcom/groupbyinc/flux/common/inject/Scope;
putAnnotation =(Ljava/lang/Class;Lcom/groupbyinc/flux/common/inject/Scope;)V getConvertersThisLevel ()Ljava/lang/Iterable; addConverter C(Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;)V java/util/List ? add (Ljava/lang/Object;)Z ? ? ? ? matcherAndConverter @Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter; getConverter ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/Errors;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter; >com/groupbyinc/flux/common/inject/internal/MatcherAndConverter ? ? ? ? java/lang/Iterable ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ? R ? ? getTypeMatcher 5()Lcom/groupbyinc/flux/common/inject/matcher/Matcher; ? ?
? ? 1com/groupbyinc/flux/common/inject/matcher/Matcher ? matches ? ? ? ? 1com/groupbyinc/flux/common/inject/internal/Errors ? ambiguousTypeConversion(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/TypeLiteral;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter;)Lcom/groupbyinc/flux/common/inject/internal/Errors; ? ?
? ? Y ? converter s stringValue Ljava/lang/String; type 2Lcom/groupbyinc/flux/common/inject/TypeLiteral<*>; /Lcom/groupbyinc/flux/common/inject/TypeLiteral; errors 3Lcom/groupbyinc/flux/common/inject/internal/Errors; source matchingConverter addTypeListener >(Lcom/groupbyinc/flux/common/inject/spi/TypeListenerBinding;)V listenerBinding ;Lcom/groupbyinc/flux/common/inject/spi/TypeListenerBinding; getTypeListenerBindings ()Ljava/util/List; ? ? ? size ()I ? ? ? ? (I)V # ?
; ? addAll (Ljava/util/Collection;)Z ? ? ? ? parentBindings result blacklist *(Lcom/groupbyinc/flux/common/inject/Key;)V ? ? ? *(Lcom/groupbyinc/flux/common/inject/Key;)Z ? ?
B ?
isBlacklisted contains ? ?
B ? clearBlacklisted makeAllBindingsToEagerSingletons /(Lcom/groupbyinc/flux/common/inject/Injector;)V entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? ? ? getKey ? R ? %com/groupbyinc/flux/common/inject/Key ? getValue ? R ? getProvider .()Lcom/groupbyinc/flux/common/inject/Provider; ? ?
c ? *com/groupbyinc/flux/common/inject/Provider ? \ R ? ? >com/groupbyinc/flux/common/inject/internal/InstanceBindingImpl ? 9com/groupbyinc/flux/common/inject/internal/SourceProvider ? UNKNOWN_SOURCE ? " ? (Ljava/lang/Object;)V #
emptySet ?
. ?(Lcom/groupbyinc/flux/common/inject/Injector;Lcom/groupbyinc/flux/common/inject/Key;Ljava/lang/Object;Lcom/groupbyinc/flux/common/inject/internal/InternalFactory;Ljava/util/Set;Ljava/lang/Object;)V #
? clear % putAll (Ljava/util/Map;)V value entry oLjava/util/Map$Entry;Lcom/groupbyinc/flux/common/inject/Binding<*>;>; Ljava/util/Map$Entry; injector ,Lcom/groupbyinc/flux/common/inject/Injector; x Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable ?(Lcom/groupbyinc/flux/common/inject/Key;)Lcom/groupbyinc/flux/common/inject/internal/BindingImpl; k()Ljava/util/Map;Lcom/groupbyinc/flux/common/inject/Binding<*>;>; h(Lcom/groupbyinc/flux/common/inject/Key<*>;Lcom/groupbyinc/flux/common/inject/internal/BindingImpl<*>;)V `(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/groupbyinc/flux/common/inject/Scope; a(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Lcom/groupbyinc/flux/common/inject/Scope;)V X()Ljava/lang/Iterable; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/inject/TypeLiteral<*>;Lcom/groupbyinc/flux/common/inject/internal/Errors;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/inject/internal/MatcherAndConverter; O()Ljava/util/List; -(Lcom/groupbyinc/flux/common/inject/Key<*>;)V -(Lcom/groupbyinc/flux/common/inject/Key<*>;)Z
SourceFile InnerClasses ! " # $ ? i*? '*? )Y? *? ,**? ,? 2? 4*? 6Y? 7? 9*? ;Y?