com.groupbyinc.flux.common.ParseField.class Maven / Gradle / Ivy
???? 4 x %com/groupbyinc/flux/common/ParseField java/lang/Object ParseField.java 2com/groupbyinc/flux/common/ParseField$CommonFields CommonFields name Ljava/lang/String; deprecatedNames [Ljava/lang/String; allReplacedWith allNames EMPTY ((Ljava/lang/String;[Ljava/lang/String;)V ()V
java/lang/String java/util/HashSet
! java/util/Collections # addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z % &
$ ' size ()I ) *
! + toArray (([Ljava/lang/Object;)[Ljava/lang/Object; - .
! /
java/util/Set 1 add (Ljava/lang/Object;)Z 3 4 2 5 2 + 2 / 9 set 'Ljava/util/HashSet; Ljava/util/HashSet; this 'Lcom/groupbyinc/flux/common/ParseField; #Ljava/util/Set; Ljava/util/Set; getPreferredName ()Ljava/lang/String; getAllNamesIncludedDeprecated ()[Ljava/lang/String; withDeprecation <([Ljava/lang/String;)Lcom/groupbyinc/flux/common/ParseField;
H withAllDeprecated ;(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ParseField; D E
L F G
N
parseField match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Z fieldName cannot be null S java/util/Objects U requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; W X
V Y equals [ 4
\ 6com/groupbyinc/flux/common/xcontent/DeprecationHandler ^ usedDeprecatedName '(Ljava/lang/String;Ljava/lang/String;)V ` a _ b usedDeprecatedField d a _ e depName fieldName deprecationHandler 8Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler; toString B C
l getAllReplacedWith getDeprecatedNames Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
SourceFile InnerClasses !
? q ) q*? *? *+? ,? ,??
*? ? ? #? !Y? "N-,? (W*--? ,? ? 0? ? ? !Y? "N-+? 6 W-*? ? (W*--? 7 ? ? 8 ? ? :? r 4 ) ; = q > ? q
q I ( A s ) ; <