com.huawei.shade.com.fasterxml.jackson.databind.util.EnumResolver.class Maven / Gradle / Ivy
???? 3F Acom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver java/lang/Object java/io/Serializable EnumResolver.java java/util/Map$Entry
java/util/Map
Entry serialVersionUID J
_enumClass Ljava/lang/Class; &Ljava/lang/Class;>; _enums [Ljava/lang/Enum; [Ljava/lang/Enum<*>;
_enumsById Ljava/util/HashMap; :Ljava/util/HashMap;>;
_defaultValue Ljava/lang/Enum; Ljava/lang/Enum<*>;
_isIgnoreCase Z I(Ljava/lang/Class;[Ljava/lang/Enum;Ljava/util/HashMap;Ljava/lang/Enum;Z)V ?(Ljava/lang/Class;>;[Ljava/lang/Enum<*>;Ljava/util/HashMap;>;Ljava/lang/Enum<*>;Z)V ()V "
# % ' ) + - this CLcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; enumClass enums map defaultValue isIgnoreCase constructFor ?(Lcom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ?(Lcom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class<*>;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; Ecom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig 9 getAnnotationIntrospector J()Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector; ; <
: = =com/huawei/shade/com/fasterxml/jackson/databind/MapperFeature ? ACCEPT_CASE_INSENSITIVE_ENUMS ?Lcom/huawei/shade/com/fasterxml/jackson/databind/MapperFeature; A B @ C isEnabled B(Lcom/huawei/shade/com/fasterxml/jackson/databind/MapperFeature;)Z E F
: G
_constructFor ?(Ljava/lang/Class;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Z)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; I J
K config GLcom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig; enumCls Ljava/lang/Class<*>; ?(Ljava/lang/Class<*>;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Z)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; $(Ljava/lang/Class;)Ljava/lang/Class; R
S _enumConstants $(Ljava/lang/Class;)[Ljava/lang/Enum; U V
W java/lang/String Y Fcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector [ findEnumValues J(Ljava/lang/Class;[Ljava/lang/Enum;[Ljava/lang/String;)[Ljava/lang/String; ] ^
\ _ [Ljava/lang/String; a findEnumAliases 9(Ljava/lang/Class;[Ljava/lang/Enum;[[Ljava/lang/String;)V c d
\ e java/util/HashMap g
h # java/lang/Class j [[Ljava/lang/String; m java/lang/Enum o name ()Ljava/lang/String; q r
p s put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; u v
h w containsKey (Ljava/lang/Object;)Z y z
h { _enumDefault k(Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Ljava/lang/Class;)Ljava/lang/Enum; } ~
? alias Ljava/lang/String; enumValue aliases i I len enumCls0 ai HLcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;
enumConstants names
allAliases constructUsingToString _constructUsingToString ? J
? toString ? r
p ? constructUsingMethod ?(Lcom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ?(Lcom/huawei/shade/com/fasterxml/jackson/databind/DeserializationConfig;Ljava/lang/Class<*>;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; _constructUsingMethod ?(Ljava/lang/Class;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Z)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ? ?
? accessor LLcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember; ?(Ljava/lang/Class<*>;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Z)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; java/lang/Exception ? Jcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember ? getValue &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ?
? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? # *Failed to access @JsonValue of Enum value ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? : ?
getMessage ? r
? ?
? ? (Ljava/lang/String;)V ?
? ? o Ljava/lang/Object; e Ljava/lang/Exception; en constructLookup O()Lcom/huawei/shade/com/fasterxml/jackson/databind/util/CompactStringObjectMap; Kcom/huawei/shade/com/fasterxml/jackson/databind/util/CompactStringObjectMap ? construct ^(Ljava/util/Map;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/CompactStringObjectMap; ? ?
? ? <(Ljava/lang/Class<*>;)Ljava/lang/Class;>; *(Ljava/lang/Class<*>;)[Ljava/lang/Enum<*>; getEnumConstants ()[Ljava/lang/Object; ? ?
k ? No enum constants for class ? getName ? r
k ?
enumValues q(Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;Ljava/lang/Class<*>;)Ljava/lang/Enum<*>; findDefaultEnumValue #(Ljava/lang/Class;)Ljava/lang/Enum; ? ?
\ ? intr H(Ljava/lang/Class;[Ljava/lang/Enum;Ljava/util/HashMap;Ljava/lang/Enum;)V ?(Ljava/lang/Class;>;[Ljava/lang/Enum<*>;Ljava/util/HashMap;>;Ljava/lang/Enum<*>;)V Ljava/lang/Deprecated; ?(Ljava/lang/Class;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ?(Ljava/lang/Class;>;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; constructUnsafe ?(Ljava/lang/Class<*>;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver;
rawEnumCls constructUnsafeUsingToString V(Ljava/lang/Class;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; k(Ljava/lang/Class;>;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ?(Ljava/lang/Class;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; ?(Ljava/lang/Class;>;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; constructUnsafeUsingMethod ?(Ljava/lang/Class<*>;Lcom/huawei/shade/com/fasterxml/jackson/databind/introspect/AnnotatedMember;Lcom/huawei/shade/com/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/huawei/shade/com/fasterxml/jackson/databind/util/EnumResolver; findEnum $(Ljava/lang/String;)Ljava/lang/Enum; '(Ljava/lang/String;)Ljava/lang/Enum<*>; get ? ?
h ? _findEnumCaseInsensitive ? ?
? key entrySet ()Ljava/util/Set; ? ?
h ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? java/util/Iterator hasNext ()Z next ()Ljava/lang/Object;
getKey
equalsIgnoreCase (Ljava/lang/String;)Z
Z ?
entry ;>; Ljava/util/Map$Entry; getEnum (I)Ljava/lang/Enum; (I)Ljava/lang/Enum<*>; index getDefaultValue ()Ljava/lang/Enum; ()Ljava/lang/Enum<*>; getRawEnums ()[Ljava/lang/Enum; ()[Ljava/lang/Enum<*>; getEnums ()Ljava/util/List; '()Ljava/util/List;>; java/util/ArrayList& (I)V (
') add+ z
', *Ljava/util/ArrayList;>; Ljava/util/ArrayList;
getEnumIds ()Ljava/util/Collection; ,()Ljava/util/Collection; keySet3 ?
h4 getEnumClass ()Ljava/lang/Class; (()Ljava/lang/Class;>; lastValidIndex ()I
ConstantValue Signature Code LineNumberTable LocalVariableTable LocalVariableTypeTable
StackMapTable
Deprecated RuntimeVisibleAnnotations InnerClasses
SourceFile !
; <