de.tsl2.nano.core.cls.BeanClass.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4?
nk ?l
nm
?n
?o
?p
qr
?st
k
{u
?v
{w
?x
?y
?z{|
{}~{?
{?
?
x
{??G
???
{?
?
{?
k
??
?
?
{z
??
??
{?
?z
???
,k
?
z??
???
?
,?
??
0??
??
0??|
,| ???
????
??
????????? Hz????
??
J? Hv?
Q?
???????????
X?
X|???
?
??
0?
0??|??
???? ??
?? ??
0?
{???
???
??
???
??
{?
{?
??
??
??
??
0?
???
??
??
??
??
{??
{?
n?????
??
{???
?
??
{??
?
????
??? ???
???
?
??
??
??
??
?? ??
? ?
0 H
?
?
{
?
{
?
{
?
?
?
{
?
{
?!?
?"#
?$
?%
&'
&()*
+,
?-
?.
?/?01
234
05
067
?8
Xk
{9
?:
;<?=>?@
??@???AB
CDE
?F
GHI
{x
CJ
??
?K
{L?=??
{M
NOP
Q
?R
qS
TUV
WXY
?kZ
?k InnerClasses serialVersionUID J
ConstantValuetfoi{6ݟ LOG Lorg/apache/commons/logging/Log; clazz Ljava/lang/Class; Signature Ljava/lang/Class; RuntimeVisibleAnnotations #Lorg/simpleframework/xml/Attribute; FILTER_SINGLEVALUE_ATTRIBUTES Lde/tsl2/nano/core/IPredicate; ELde/tsl2/nano/core/IPredicate;>; FILTER_MULTIVALUE_ATTRIBUTES ENHANCER_PREATTACHMENT Ljava/lang/String;[ ()V Code LineNumberTable LocalVariableTable this !Lde/tsl2/nano/core/cls/BeanClass; LocalVariableTypeTable &Lde/tsl2/nano/core/cls/BeanClass; (Ljava/lang/Class;)V beanClass (Ljava/lang/Class;)V getBeanClass 5(Ljava/lang/Object;)Lde/tsl2/nano/core/cls/BeanClass; instance Ljava/lang/Object; TC; A(TC;)Lde/tsl2/nano/core/cls/BeanClass; 4(Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanClass; Ljava/lang/Class; T(Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanClass; 5(Ljava/lang/Class;Z)Lde/tsl2/nano/core/cls/BeanClass; evalDefiningClass Z
StackMapTable? U(Ljava/lang/Class;Z)Lde/tsl2/nano/core/cls/BeanClass; getStatic 7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; cls staticFieldName Ljava/lang/Class<*>; :(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Object;
getFieldNames '(Ljava/lang/Class;Z)[Ljava/lang/String; i I type
staticOnly names Ljava/util/Set; fields [Ljava/lang/reflect/Field; #Ljava/util/Set;\ *(Ljava/lang/Class<*>;Z)[Ljava/lang/String;
getMethods /(Ljava/lang/Class;Z)[Ljava/lang/reflect/Method; methods [Ljava/lang/reflect/Method; +Ljava/util/Set; 2(Ljava/lang/Class<*>;Z)[Ljava/lang/reflect/Method; getName ()Ljava/lang/String; %(Ljava/lang/Class;)Ljava/lang/String;
getSimpleName clsName Ljava/lang/StringBuilder;? ((Ljava/lang/Class<*>;)Ljava/lang/String; &(Ljava/lang/Class;Z)Ljava/lang/String; path~ getPath getClazz ()Ljava/lang/Class; ()Ljava/lang/Class;
getAttributes ()Ljava/util/List; 6()Ljava/util/List; (Z)Ljava/util/List; attr %Lde/tsl2/nano/core/cls/BeanAttribute; readAndWriteAccess cachedBC
allMethods accessedMethods Ljava/util/LinkedList; beanAccessMethods Ljava/util/List; *Ljava/util/LinkedList; 4Ljava/util/List;V?]? 7(Z)Ljava/util/List; getAttribute 6(Ljava/lang/String;)Lde/tsl2/nano/core/cls/IAttribute; name 7(Ljava/lang/String;Z)Lde/tsl2/nano/core/cls/IAttribute; a "Lde/tsl2/nano/core/cls/IAttribute; throwException attrs^ 5(Ljava/lang/Class;)Lde/tsl2/nano/core/cls/IAttribute; getSortedAttributes (Z)Ljava/util/SortedSet; <(Z)Ljava/util/SortedSet; getAttributeNames ()[Ljava/lang/String; (Z)[Ljava/lang/String;
beanAttribute beanAttributes Ljava/util/Collection; [Ljava/lang/String; :Ljava/util/Collection;_ getFilteredAttributes 0(Lde/tsl2/nano/core/IPredicate;)Ljava/util/List; iterator Ljava/util/Iterator; filter 8Ljava/util/Iterator; {(Lde/tsl2/nano/core/IPredicate;>;)Ljava/util/List; getFilteredMethods 6(Lde/tsl2/nano/core/IPredicate;)Ljava/util/Collection;
methodList Ljava/util/ArrayList; :Lde/tsl2/nano/core/IPredicate; 1Ljava/util/ArrayList;? n(Lde/tsl2/nano/core/IPredicate;)Ljava/util/Collection; findAttributes )(Ljava/lang/Class;)Ljava/util/Collection; m Ljava/lang/reflect/Method; f Ljava/lang/reflect/Field; annotationType
attributes hierClass 5Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; =Ljava/util/Collection;?> t(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Ljava/util/Collection; getSingleValueAttributes getMultiValueAttributes hasWriteAccessMethod (Ljava/lang/reflect/Method;)Z readAccessMethod
getAnnotation $(Ljava/lang/Class;)Ljava/lang/Class; annotationClass
annotation !Ljava/lang/annotation/Annotation; Ljava/lang/Class;` s(Ljava/lang/Class;)Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; getAnnotationValues 9(Ljava/lang/Class;[Ljava/lang/String;)[Ljava/lang/Object; memberNames bc values [Ljava/lang/Object; d(Ljava/lang/Class;[Ljava/lang/String;)[Ljava/lang/Object; isAnnotationPresent (Ljava/lang/Class;)Z 8(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Z getField 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; e1 Ljava/lang/Exception; e fieldName TT;?? )(TT;Ljava/lang/String;)Ljava/lang/Object; 9(Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object; field declared *(TT;Ljava/lang/String;Z)Ljava/lang/Object; setField 9(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V value *(TT;Ljava/lang/String;Ljava/lang/Object;)V :(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V +(TT;Ljava/lang/String;Ljava/lang/Object;Z)V
callMethod
methodName call K(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; staticMethodName args K(Ljava/lang/Class;Ljava/lang/String;Z[Ljava/lang/Object;)Ljava/lang/Object;
usePrimitives N(Ljava/lang/Class<*>;Ljava/lang/String;Z[Ljava/lang/Object;)Ljava/lang/Object; \(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; par [Ljava/lang/Class; _(Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; ](Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; ^(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;Z[Ljava/lang/Object;)Ljava/lang/Object; method e2 !Ljava/lang/NoSuchMethodException;a?b getValue bean 9(Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; p item att val ii iter Ljava/lang/Iterable; map Ljava/util/Map; ex? getBeanValue
attributeName attribute setValue createInstance '([Ljava/lang/Object;)Ljava/lang/Object; ([Ljava/lang/Object;)TT; hasDefaultConstructor (Ljava/lang/Class<*>;)Z (Ljava/lang/Class;Z)Z c Ljava/lang/reflect/Constructor; mustBePublicc (Ljava/lang/Class<*>;Z)Z hasStringConstructor 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; @(Ljava/lang/String;[Ljava/lang/Object;)TT; K(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; parmTypes R(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)TT; 8(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; dims [I constructor j pars constructors [Ljava/lang/reflect/Constructor; $Ljava/lang/reflect/Constructor; [Ljava/lang/Class<*>; #[Ljava/lang/reflect/Constructor<*>; D(Ljava/lang/Class;[Ljava/lang/Object;)TT; numbers ([Ljava/lang/Object;)Z createBeanClass 5(Ljava/lang/String;)Lde/tsl2/nano/core/cls/BeanClass; className L(Ljava/lang/String;Ljava/lang/ClassLoader;)Lde/tsl2/nano/core/cls/BeanClass; classLoader Ljava/lang/ClassLoader; load %(Ljava/lang/String;)Ljava/lang/Class; <(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class; classloader =(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class; logException
copyValues 9(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object; src dest onlyDestAttributes destClass attributeNames TD; 1(Ljava/lang/Object;TD;Z)TD; K(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; C(Ljava/lang/Object;TD;[Ljava/lang/String;)TD; M(Ljava/lang/Object;Ljava/lang/Object;ZZ[Ljava/lang/String;)Ljava/lang/Object; srcClass srcAttribute
destAttribute
onlyIfNotNull onlyIfDestIsNull copied unavailable *Ljava/util/Collection; E(Ljava/lang/Object;TD;ZZ[Ljava/lang/String;)TD; resetValues TS; 1(TS;[Ljava/lang/String;)TS; fieldsOf =(Ljava/lang/Class;Ljava/util/List;)[Ljava/lang/reflect/Field; +Ljava/util/List; X(Ljava/lang/Class;Ljava/util/List;)[Ljava/lang/reflect/Field; copy noCopy L(Ljava/lang/Object;Ljava/lang/Object;Z[Ljava/lang/String;)Ljava/lang/Object; v di deep
destFields destFieldNames
noCopyList $Ljava/util/List; D(Ljava/lang/Object;TD;Z[Ljava/lang/String;)TD; isFinal &Ljava/lang/Class<+Ljava/lang/Object;>; )(Ljava/lang/Class<+Ljava/lang/Object;>;)Z isAssignableFrom %(Ljava/lang/Class;Ljava/lang/Class;)Z cls1 cls2 +(Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z ()Z
isInheritance '(Ljava/lang/Object;Ljava/lang/Object;)Z o1 o2
getInterfaces ()[Ljava/lang/Class;
allInterfaces
superClass )Ljava/util/Collection; getDefiningClass D(Ljava/lang/Class;)Ljava/lang/Class; isPublicClassName (Ljava/lang/String;)Z getPackageName &(Ljava/lang/String;)Ljava/lang/String;
clearCache ()I toString >Ljava/lang/Object;Ljava/io/Serializable;
SourceFile BeanClass.java !Lorg/simpleframework/xml/Default; %Lorg/simpleframework/xml/DefaultType; FIELD required
?W"("+Y?de(?? java/util/LinkedHashSetfghWJ?i`jkJK\lmng java/lang/StringopDqrWsq java/lang/reflect/MethodJR java/lang/StringBuilderMKtuWvw $aKxyMLULz{|Y\ java/util/LinkedList}U #de/tsl2/nano/core/cls/BeanAttribute get~\ is getClassm?m??? java/lang/BooleanJK??] method v? ? doesn't respect uppercase-starting getter ==> will be ignored!a??mpYZ??^?O?? de/tsl2/nano/core/cls/IAttribute "java/lang/IllegalArgumentException attribute ' ' not available in
available attributes are:
??? java/util/TreeSet?z|_?`??m? java/util/ArrayList? %evaluate attributes with annotation :???????J??? is annotated with + but no BeanAttribute could be found on it! &declared field with annotation found: field ???O`?W?? java/lang/Object???? java/lang/Exception?????????????????? java/lang/Class????????O calling ?? : . with parameters:a??????? java/lang/NoSuchMethodException?? \.???? [ ]?? java/lang/Iterable first?\ last =?????????`???
java/util/Map "de/tsl2/nano/core/ManagedException Error on attribute path ' '! Attribute ' ' not available!? ' of full path ' ' is null???????????c?O???O?? java/lang/Integer?W??????????????? 8BeanClass could not create the desired instance of type ?? java/lang/Number????? loading class through classloader ?? ) +z{?O copying v? attributes from to ?? couldn't set all values for ! unavailable attributes: !?W89????? java/lang/reflect/Field<> copying all fields from ?? java/lang/reflect/Modifier??? java/io/SerializableG??<? fields copied??GkTU?O??? '([a-zA-Z0-9_]+[.])+[A-Z]\w*[a-zA-Z0-9]$?\???`?a? de/tsl2/nano/core/cls/BeanClass??? !de/tsl2/nano/core/cls/BeanClass$1 !de/tsl2/nano/core/cls/BeanClass$2 $$
java/util/Set java/util/List java/util/Iterator java/util/Collection java/lang/annotation/Annotation org/apache/commons/logging/Log java/lang/Throwable java/lang/reflect/Constructor %de/tsl2/nano/core/cls/CachedBeanClass getCachedBeanClass getFields ()[Ljava/lang/reflect/Field; getType getModifiers isStatic (I)Z add (Ljava/lang/Object;)Z getDeclaredFields toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ()[Ljava/lang/reflect/Method;
getReturnType getDeclaredMethods (Ljava/lang/String;)V getEnclosingClass append -(Ljava/lang/String;)Ljava/lang/StringBuilder; insert .(ILjava/lang/String;)Ljava/lang/StringBuilder;
getPackage ()Ljava/lang/Package; java/lang/Package getParameterTypes
startsWith equals contains (Ljava/lang/reflect/Method;)V hasExpectedName -(Ljava/lang/Object;)Ljava/lang/StringBuilder; warn (Ljava/lang/Object;)V ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; !de/tsl2/nano/core/util/StringUtil toFormattedString ((Ljava/lang/Object;IZ)Ljava/lang/String; (Ljava/util/Collection;)V size de/tsl2/nano/core/IPredicate eval remove (I)V debug getAnnotations $()[Ljava/lang/annotation/Annotation; &de/tsl2/nano/core/util/AnnotationProxy V([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Ljava/lang/annotation/Annotation; .(Ljava/lang/reflect/Method;)Ljava/lang/String; getBeanAttribute J(Ljava/lang/Class;Ljava/lang/String;)Lde/tsl2/nano/core/cls/BeanAttribute; hasWriteAccess forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
setAccessible (Z)V &(Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Throwable;Z)Ljava/lang/Throwable; wrap 7(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; set '(Ljava/lang/Object;Ljava/lang/Object;)V #de/tsl2/nano/core/cls/PrimitiveUtil getPrimitive isArray getClassLoader ()Ljava/lang/ClassLoader; '(Ljava/lang/Object;I)Ljava/lang/String; getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; trace invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getDeclaredMethod split '(Ljava/lang/String;)[Ljava/lang/String; substring L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String; equalsIgnoreCase (Ljava/lang/CharSequence;)Z J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; valueOf '(Ljava/lang/String;)Ljava/lang/Integer; intValue %de/tsl2/nano/core/util/CollectionUtil )(Ljava/lang/Iterable;I)Ljava/lang/Object; =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V info getDeclaredConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; isAccessible newInstance isPrimitive
getWrapper getComponentType java/lang/reflect/Array '(Ljava/lang/Class;[I)Ljava/lang/Object; &(Ljava/lang/Class;I)Ljava/lang/Object; ((Ljava/lang/Object;ILjava/lang/Object;)V isPrimitiveOrWrapper getDefaultValue %(Ljava/lang/Class;)Ljava/lang/Object; getConstructor getDeclaredConstructors "()[Ljava/lang/reflect/Constructor; implementationError ](Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lde/tsl2/nano/core/ManagedException; java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader java/lang/ClassLoader loadClass isTraceEnabled (I)Ljava/lang/StringBuilder; K(Ljava/lang/Class;Ljava/lang/String;Z)Lde/tsl2/nano/core/cls/BeanAttribute;
getSuperclass java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; addAll (Ljava/util/Collection;)Z indexOf (Ljava/lang/Object;)I de/tsl2/nano/core/util/BitUtil hasBit (I[I)Z de/tsl2/nano/core/util/ByteUtil (II)Z isEnum java/lang/reflect/Proxy isProxyClass matches K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; clear de/tsl2/nano/core/util/Util 8(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/String; de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! ? n ?
O E *? ?
Y Z b
*? *+? ? _ ` a
! "# D *? ? ? h $% $&