com.groupbyinc.flux.common.NamedRegistry.class Maven / Gradle / Ivy
???? 4 ? (com/groupbyinc/flux/common/NamedRegistry (Ljava/lang/Object; java/lang/Object NamedRegistry.java java/util/Map$Entry
java/util/Map Entry registry Ljava/util/Map; &Ljava/util/Map;
targetName Ljava/lang/String; (Ljava/lang/String;)V ()V
java/util/HashMap
this /Lcom/groupbyinc/flux/common/NamedRegistry; *Lcom/groupbyinc/flux/common/NamedRegistry; getRegistry ()Ljava/util/Map; register '(Ljava/lang/String;Ljava/lang/Object;)V name is required $ java/util/Objects & requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ( )
' * java/lang/StringBuilder ,
- append -(Ljava/lang/String;)Ljava/lang/StringBuilder; / 0
- 1 is required 3 toString ()Ljava/lang/String; 5 6
- 7 putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 9 :
; "java/lang/IllegalArgumentException = for name [ ? ] already registered A
> C name t TT; Ljava/lang/Object; extractAndRegister 0(Ljava/util/List;Ljava/util/function/Function;)V java/util/List K iterator ()Ljava/util/Iterator; M N L O java/util/Iterator Q hasNext ()Z S T R U next ()Ljava/lang/Object; W X R Y java/util/function/Function [ apply &(Ljava/lang/Object;)Ljava/lang/Object; ] ^ \ _ entrySet ()Ljava/util/Set; a b
c
java/util/Set e f O getKey h X i java/lang/String k getValue m X n " #
p entry ,Ljava/util/Map$Entry; Ljava/util/Map$Entry; plugin TP; plugins Ljava/util/List; Ljava/util/List; lookup HLjava/util/function/Function;>; Ljava/util/function/Function; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable (()Ljava/util/Map;
StackMapTable (Ljava/lang/String;TT;)V v(Ljava/util/List;Ljava/util/function/Function;>;)V
SourceFile InnerClasses !
} ~ g *? *? Y? ? *+? ? ? ? $ ! % &