com.jeeplus.database.persistence.DsObjectKit.class Maven / Gradle / Ivy
???? 4? ,com/jeeplus/database/persistence/DsObjectKit java/lang/Object x java/util/Map$Entry
java/util/Map Entry a [Ljava/lang/String; H B Ljava/lang/String;
ALLATORIxDEMO null toString '([Ljava/lang/Object;)Ljava/lang/String; isNull (Ljava/lang/Object;)Z
7 :com/jeeplus/database/datasource/DynamicDataSourceConfigure &(Ljava/lang/String;)Ljava/lang/String;
java/lang/StringBuilder " ()V $ %
# & getClass ()Ljava/lang/Class; ( )
* java/lang/Class ,
getSimpleName ()Ljava/lang/String; . /
- 0 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 2 3
# 4
~@|BfM/ 6 Hcom/jeeplus/database/datasource/exception/ErrorCreateDataSourceException 8
9 (I)Ljava/lang/StringBuilder; 2 ;
# < C1 > &(Ljava/lang/Object;)Ljava/lang/String; @
A (C)Ljava/lang/StringBuilder; 2 C
# D length ()I F G
# H deleteCharAt J ;
# K /
# M [Ljava/lang/Object; java/lang/Throwable P O equals /(Ljava/util/Collection;Ljava/util/Collection;)Z 5(Ljava/util/Collection<*>;Ljava/util/Collection<*>;)Z S
V java/util/Collection X size Z G Y [ toArray ()[Ljava/lang/Object; ] ^ Y _ )([Ljava/lang/Object;[Ljava/lang/Object;)Z S a
b Ljava/util/Collection; M (Ljava/lang/reflect/Field;)Z
g -com/jeeplus/database/persistence/DsReflectKit i forName %(Ljava/lang/String;)Ljava/lang/Class; k l
j m java/lang/reflect/Field o getType q )
p r isAssignableFrom (Ljava/lang/Class;)Z t u
- v Ljava/lang/reflect/Field; isEmpty (Ljava/lang/String;)Z java/lang/String |
} V '(Ljava/lang/Object;Ljava/lang/Object;)Z S
? !(Ljava/util/Map;Ljava/util/Map;)Z )(Ljava/util/Map<**>;Ljava/util/Map<**>;)Z [ entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? containsKey ? ? getValue ? ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? Ljava/util/Map;
isNotEmpty (Ljava/lang/CharSequence;)Z z ?
? Ljava/lang/CharSequence; java/lang/CharSequence ? isTrimEmpty trim ? /
} ? ? H isTrimNotEmpty ? {
? Ljava/lang/Object; java/lang/Exception ? +com/jeeplus/database/persistence/DsClassKit ? isJavaBasicType ? u
? ? isArray ? ?
- ? isPrimitiveArray ? u
? ? isPrimitiveWrapperArray ? u
? ? java/util/Arrays ?
deepEquals ? a
? ? isCollection ? u
? ? S T
? isMap ? u
? ? S ?
? getDeclaredFields ()[Ljava/lang/reflect/Field; ? ?
- ? ([Ljava/lang/Object;)Z z ?
? "java/lang/reflect/AccessibleObject ?
setAccessible )([Ljava/lang/reflect/AccessibleObject;Z)V ? ?
? ?
p ? [Ljava/lang/reflect/Field; ? (Ljava/util/Map;)Z (Ljava/util/Map<**>;)Z z ? ? z {
?
& .Lcom/jeeplus/database/persistence/DsObjectKit; addAll &(Ljava/util/List;[Ljava/lang/Object;)V 2(Ljava/util/List;[TT;)V java/util/List ? add ? ? ? Ljava/util/List;
isIgnoreField f
? e f
?
M / ? deepToString ?
?
} H substring (II)Ljava/lang/String;
}
*(Ljava/util/Collection;)Ljava/lang/String;
#(Ljava/util/Map;)Ljava/lang/String;
getAllField -(Ljava/lang/Class;)[Ljava/lang/reflect/Field;
? ? f
getName /
p F -> mapToObject 4(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object; f(Ljava/lang/Class;Ljava/util/Map;)TM; java/lang/InstantiationException# java/lang/IllegalAccessException% +java/lang/reflect/InvocationTargetException' newInstance) ?
-* &org/apache/commons/beanutils/BeanUtils, populate $(Ljava/lang/Object;Ljava/util/Map;)V./
-0 &java/lang/ReflectiveOperationException2 printStackTrace4 %
35 Ljava/lang/Class; (Ljava/util/Collection;)Z (Ljava/util/Collection<*>;)Z z8
: < fM{V6> indexOf (Ljava/lang/String;)I@A
}B
equalProperty :(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/String;)Z
getFieldValue 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;FG
jH java/lang/EnumJ '(Ljava/util/Map<**>;)Ljava/lang/String; _M
aLh@/O CQ Y ? ~JuU HC
AW VwW{D~swWaL}KGlVY V
TGADHC^NDhC
A[ J`B