com.groupbyinc.flux.common.xcontent.XContentParserUtils.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/common/xcontent/XContentParserUtils java/lang/Object XContentParserUtils.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup ()V
this 9Lcom/groupbyinc/flux/common/xcontent/XContentParserUtils; ensureFieldName ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Ljava/lang/String;)V java/io/IOException
FIELD_NAME :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; getClass ()Ljava/lang/Class;
"java/lang/invoke/LambdaMetafactory " metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; $ %
# & ' ()Ljava/lang/Object; ) getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; + , - . , get S(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/function/Supplier; 1 2 3 ensureExpectedToken ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Ljava/util/function/Supplier;)V 5 6
7 currentName ()Ljava/lang/String; 9 : ; java/lang/String = equals (Ljava/lang/Object;)Z ? @
> A EFailed to parse object: expecting field with name [%s] but found [%s] C +com/groupbyinc/flux/common/ParsingException E java/util/Locale G ROOT Ljava/util/Locale; I J H K format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; M N
> O ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V Q
F R message Ljava/lang/String; parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token fieldName throwUnknownField K(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;)V 0Failed to parse object: unknown field [%s] found \ field location 6Lcom/groupbyinc/flux/common/xcontent/XContentLocation; throwUnknownToken s(Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;)V 3Failed to parse object: unexpected token [%s] found c CFailed to parse object: expecting token of type [%s] but found [%s] e java/util/function/Supplier g 1 ) h i 4com/groupbyinc/flux/common/xcontent/XContentLocation k expected actual ULjava/util/function/Supplier; Ljava/util/function/Supplier; parseStoredFieldsValue H(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/lang/Object; currentToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; s t u VALUE_STRING w x text z : { VALUE_NUMBER } ~ numberValue ()Ljava/lang/Number; ? ? ?
VALUE_BOOLEAN ? ? booleanValue ()Z ? ? ? java/lang/Boolean ? valueOf (Z)Ljava/lang/Boolean; ? ?
? ? VALUE_EMBEDDED_OBJECT ? ? +com/groupbyinc/flux/common/bytes/BytesArray ? binaryValue ()[B ? ? ? ([B)V ?
? ? a b
? value Ljava/lang/Object; parseTypedKeysObject w(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Consumer;)V START_OBJECT ? ? START_ARRAY ? ? "com/groupbyinc/flux/common/Strings ? hasLength (Ljava/lang/String;)Z ? ?
? ? indexOf (Ljava/lang/String;)I ? ?
> ? substring (II)Ljava/lang/String; ? ?
> ? (I)Ljava/lang/String; ? ?
> ? namedObject I(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? java/util/function/Consumer ? accept (Ljava/lang/Object;)V ? ? ? ? skipChildren ? ? !Failed to parse object: empty key ? type name position I delimiter objectClass Ljava/lang/Class; Ljava/lang/Class; consumer "Ljava/util/function/Consumer; Ljava/util/function/Consumer; currentFieldName Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable Signature ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Ljava/util/function/Supplier;)V ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Consumer;)V BootstrapMethods
SourceFile InnerClasses 1 ? 3 *? ? ? ?
&