com.huawei.shade.com.alibaba.fastjson.serializer.AnnotationSerializer.class Maven / Gradle / Ivy
???? 1 ? Ecom/huawei/shade/com/alibaba/fastjson/serializer/AnnotationSerializer java/lang/Object Acom/huawei/shade/com/alibaba/fastjson/serializer/ObjectSerializer AnnotationSerializer.java java/util/Map$Entry
java/util/Map
Entry sun_AnnotationType Ljava/lang/Class; sun_AnnotationType_error Z sun_AnnotationType_getInstance Ljava/lang/reflect/Method; sun_AnnotationType_members instance GLcom/huawei/shade/com/alibaba/fastjson/serializer/AnnotationSerializer; ()V
this write ?(Lcom/huawei/shade/com/alibaba/fastjson/serializer/JSONSerializer;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Type;I)V java/io/IOException java/lang/Throwable java/lang/IllegalAccessException ! +java/lang/reflect/InvocationTargetException # getClass ()Ljava/lang/Class; % &
' java/lang/Class )
getInterfaces ()[Ljava/lang/Class; + ,
* - isAnnotation ()Z / 0
* 1
3 5 %sun.reflect.annotation.AnnotationType 7 forName %(Ljava/lang/String;)Ljava/lang/Class; 9 :
* ; 3com/huawei/shade/com/alibaba/fastjson/JSONException = not support Type Annotation. ? *(Ljava/lang/String;Ljava/lang/Throwable;)V A
> B (Ljava/lang/String;)V D
> E G getInstance I getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; K L
* M O members Q java/lang/reflect/Method S invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; U V
T W 0com/huawei/shade/com/alibaba/fastjson/JSONObject Y size ()I [ \ ] (I)V _
Z ` entrySet ()Ljava/util/Set; b c d
java/util/Set f iterator ()Ljava/util/Iterator; h i g j java/util/Iterator l hasNext n 0 m o next ()Ljava/lang/Object; q r m s getValue u r v getKey x r y java/lang/String { *com/huawei/shade/com/alibaba/fastjson/JSON } toJSON &(Ljava/lang/Object;)Ljava/lang/Object; ?
~ ? put 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; ? ?
Z ? ?com/huawei/shade/com/alibaba/fastjson/serializer/JSONSerializer ? (Ljava/lang/Object;)V ?
? ? ex Ljava/lang/Throwable; type Ljava/lang/Object; =Ljava/util/Map; Ljava/util/Map; entry CLjava/util/Map$Entry; Ljava/util/Map$Entry; annotationClass json 2Lcom/huawei/shade/com/alibaba/fastjson/JSONObject; YLjava/util/Iterator;>; Ljava/util/Iterator; val
serializer ALcom/huawei/shade/com/alibaba/fastjson/serializer/JSONSerializer; object fieldName fieldType Ljava/lang/reflect/Type; features I objClass
interfaces [Ljava/lang/Class;
? Code LineNumberTable LocalVariableTable LocalVariableTypeTable
Exceptions InnerClasses
SourceFile ! J
J J J ? / *? ? ? ? ? ? ?,? (:? .:???2? 2?~2:? 4? &? 6? 8?