de.tsl2.nano.core.util.FieldUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.h5 Show documentation
Show all versions of tsl2.nano.h5 Show documentation
TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)
???? =i
de/tsl2/nano/core/util/ByteUtil ()V
java/util/Collection size ()I [Ljava/lang/Object; iterator ()Ljava/util/Iterator; java/util/Iterator next ()Ljava/lang/Object;
java/lang/Object getClass ()Ljava/lang/Class;
! " # $ de/tsl2/nano/core/util/FieldUtil
getFieldNames &(Ljava/lang/Class;)[Ljava/lang/String; & ' ( hasNext ()Z
* + , - ( java/lang/Class isArray
/ 0 1
toObjectArray :(Ljava/lang/Object;[Ljava/lang/String;)[Ljava/lang/Object; 3 4 5 accept 3(Ljava/lang/Object;)Ljava/util/function/BiConsumer; 7 java/util/ArrayList
6
: ; < foreach j(Ljava/util/function/BiConsumer;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
6 > ? @ toArray ()[Ljava/lang/Object; 3 C java/lang/StringBuilder
B
B F G H toString ()Ljava/lang/String; 3 K java/util/LinkedHashMap
J N
java/util/Map 3 Q java/lang/String
S T U V W java/lang/reflect/Field get &(Ljava/lang/Object;)Ljava/lang/Object; Y java/lang/Exception [ java/lang/RuntimeException
Z ] ^ (Ljava/lang/Throwable;)V
S ` a b set '(Ljava/lang/Object;Ljava/lang/Object;)V
P d e H toLowerCase
* g h i getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field; k l m 4 b java/util/function/BiConsumer
* o p q getDeclaredFields ()[Ljava/lang/reflect/Field;
s t u v w java/util/Arrays stream .([Ljava/lang/Object;)Ljava/util/stream/Stream; y z { test ()Ljava/util/function/Predicate; } ~ ? ? java/util/stream/Stream filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; ? ? ? apply ()Ljava/util/function/Function; } ? ? ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; } ? ? ? sorted ()Ljava/util/stream/Stream; ? ? ? "()Ljava/util/function/IntFunction; } ? ? ? 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object; ? [Ljava/lang/String; ? => result: ? ? ? ? ? java/lang/System out Ljava/io/PrintStream;
? ? ? print `(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/String;Ljava/io/PrintStream;)Ljava/lang/Object;
? ? ? ? ? !de/tsl2/nano/core/util/ObjectUtil isEmpty (Ljava/lang/Object;)Z ? $de/tsl2/nano/core/util/ObjectPrinter ? [[Ljava/lang/Object;
? ? ? ([[Ljava/lang/Object;)V
? ? ? ? (Ljava/io/PrintStream;)V
? !
? ? ? ? toObjectArrays ?(Ljava/util/Collection;[Ljava/lang/String;)[[Ljava/lang/Object;
? ? ? <(Ljava/lang/String;[[Ljava/lang/Object;[Ljava/lang/String;)V ? ? ? makeConcatWithConstants 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
? ? ? ? ? java/io/PrintStream append /(Ljava/lang/CharSequence;)Ljava/io/PrintStream;
S ? ? H getName
S ? ? ( isSynthetic M T
? ? ? setValue @(Ljava/lang/Object;Ljava/lang/reflect/Field;Ljava/lang/Object;)V
? ? ? getValue ?(Ljava/lang/Object;Ljava/lang/reflect/Field;)Ljava/lang/Object;
J ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ?
B ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
6 ? ? ? add Code LineNumberTable LocalVariableTable this "Lde/tsl2/nano/core/util/FieldUtil; o Ljava/lang/Object; list Ljava/util/Collection;
attributes rows i I LocalVariableTypeTable Ljava/util/Collection<*>;
StackMapTable Signature B(Ljava/util/Collection<*>;[Ljava/lang/String;)[[Ljava/lang/Object; obj 9(Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/String; toMap 6(Ljava/lang/Object;[Ljava/lang/String;)Ljava/util/Map; \(Ljava/lang/Object;[Ljava/lang/String;)Ljava/util/Map; fromMap 2(Ljava/lang/Object;Ljava/util/Map;)Ljava/util/Map; Ljava/util/Map; 5Ljava/util/Map; ~(Ljava/lang/Object;Ljava/util/Map;)Ljava/util/Map; ex Ljava/lang/Exception; f Ljava/lang/reflect/Field; value e callback Ljava/util/function/BiConsumer; container cls Ljava/lang/Class; ELjava/util/function/BiConsumer; TContainer; &Ljava/lang/Class<+Ljava/lang/Object;>; ?(Ljava/util/function/BiConsumer;TContainer;Ljava/lang/Object;[Ljava/lang/String;)TContainer; ;(Ljava/lang/Class<+Ljava/lang/Object;>;)[Ljava/lang/String; result TT; (TT;)TT; K(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; title Ljava/lang/String; header C(Ljava/lang/String;TT;[Ljava/lang/String;)TT; row0 ps X(Ljava/lang/String;TT;[Ljava/lang/String;Ljava/io/PrintStream;)TT; lambda$getFieldNames$6 (I)[Ljava/lang/String; x$0 lambda$getFieldNames$5 -(Ljava/lang/reflect/Field;)Ljava/lang/String; lambda$getFieldNames$4 (Ljava/lang/reflect/Field;)Z lambda$fromMap$3 =(Ljava/lang/Object;Ljava/lang/reflect/Field;Ljava/util/Map;)V m lambda$toMap$2 G(Ljava/lang/Object;Ljava/lang/reflect/Field;Ljava/util/LinkedHashMap;)V Ljava/util/LinkedHashMap; lambda$toString$1 G(Ljava/lang/Object;Ljava/lang/reflect/Field;Ljava/lang/StringBuilder;)V b Ljava/lang/StringBuilder; lambda$toObjectArray$0 C(Ljava/lang/Object;Ljava/lang/reflect/Field;Ljava/util/ArrayList;)V values Ljava/util/ArrayList;
SourceFile FieldUtil.java BootstrapMethods.
/0123 "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; b6
7&'9 1(Ljava/lang/reflect/Field;Ljava/util/ArrayList;)V;
<"#> 5(Ljava/lang/reflect/Field;Ljava/lang/StringBuilder;)V@
A C 5(Ljava/lang/reflect/Field;Ljava/util/LinkedHashMap;)VE
FH +(Ljava/lang/reflect/Field;Ljava/util/Map;)V ?K
L WP
QT (I)Ljava/lang/Object;V
WZ
[\] ?^ $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;` b =, InnerClassese %java/lang/invoke/MethodHandles$Lookupg java/lang/invoke/MethodHandles Lookup ! ? / *? ? ? ? ? ? ? ? ? ? F t*? ?
M*? ? +? +?? *? ? ? ? L>*? :? % ? 3? :,?? ? ? )? ?
? +? .S???,? ? "
. 0 K o r ? 4 K $ ? ? t ? ? t ? ?
j ? ? 0 D ? ? ? t ? ? ? L ? ?? ? / ? ? ?? ? ? ?
? ? ? ? 0 1 ? M *? 2 ? 6Y? 8*+? 9? 6? =? ? ? ? ? ? ? ? G ? ? M *? A ? BY? D*+? 9? B? E? ? ? ? ? ? ? ? ? ? ? J *? I ? JY? L*+? 9? M? ? # ? ? ? ? ? ? ? ? ? ? Y *? O +*? P? 9? M? ? ' ? ? ? ? ? ? ? ? ? ? ? ? ? j +*? R?M? ZY,? \? X ? , - . ? ? ? ? ? ? ? ? F X ? ? ? ? +*,? _?
N? ZY-? \?? X ? 4 7 5
6 8 ? *
? ? ? ? ? ? ? ? ? I X ? ; <