de.tsl2.nano.core.cls.BeanAttribute.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)
???? =:
#de/tsl2/nano/core/cls/BeanAttribute getBeanAttribute K(Ljava/lang/Class;Ljava/lang/String;Z)Lde/tsl2/nano/core/cls/BeanAttribute;
%de/tsl2/nano/core/cls/CachedBeanClass getCachedBeanClass 4(Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanClass;
de/tsl2/nano/core/cls/BeanClass getAttribute 7(Ljava/lang/String;Z)Lde/tsl2/nano/core/cls/IAttribute;
getReadAccessMethod @(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Method;
(Ljava/lang/reflect/Method;)V
java/lang/reflect/Method getDeclaringClass ()Ljava/lang/Class;
" # $ getName .(Ljava/lang/reflect/Method;)Ljava/lang/String;
& ' ( getExpectedMethodName &(Ljava/lang/String;)Ljava/lang/String; * + ,
EMPTY_CLS_ARG [Ljava/lang/Class;
. / 0 1 2 java/lang/Class getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; 4 java/lang/Exception
6 7 8 9 : java/lang/String length ()I
6 < = > substring (II)Ljava/lang/String;
6 @ A B toUpperCase ()Ljava/lang/String;
6 D = E (I)Ljava/lang/String; G H I makeConcatWithConstants 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; K M H (
O P Q R S "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; U V W LOG Lorg/apache/commons/logging/Log;
. Y # B G \ ] ^ _ ` org/apache/commons/logging/Log debug (Ljava/lang/Object;)V M c d e readAccessMethod Ljava/lang/reflect/Method;
g h i
setAccessible (Z)V k l e writeAccessMethod
Y o get
6 q r s
startsWith (Ljava/lang/String;)Z u is w x y $assertionsDisabled Z
{ | } isGetterMethod (Ljava/lang/reflect/Method;)Z java/lang/AssertionError ? method has to start with get
~ ? `
? ?
getReturnType
? ? ? getWriteAccessMethod P(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method;
? ? ( toFirstUpper M ? java/lang/SecurityException ? java/lang/NoSuchMethodException
? ? ()V ? "java/lang/IllegalArgumentException ? H ? H(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
? ? ? (Ljava/lang/String;)V
? ? ? java/lang/Object
. ? ? B
getSimpleName
? ? ( toFirstLower
Y G ? ? ? EMPTY_ARG [Ljava/lang/Object;
? ? ? invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
? ? ? hasWriteAccess ()Z
? ? ? getClass
. ? ? ? isAssignableFrom (Ljava/lang/Class;)Z
? ? ? wrap &(Ljava/lang/Object;)Ljava/lang/Object;
? ? getType
. ? ? ? isPrimitive ? H ? @(Ljava/lang/String;Ljava/lang/reflect/Method;)Ljava/lang/String; \ ? ? ` warn ? java/lang/IllegalStateException ? Rbeanattribute name cannot be changed. this is only supported on virtual attributes
? ? ? set
? ? ? initDeserialization
? ? ? getParameterTypes ()[Ljava/lang/Class;
? ? ? getGenericType .(Ljava/lang/reflect/Method;I)Ljava/lang/Class;
? ? ? getGenericReturnType ()Ljava/lang/reflect/Type; ? #java/lang/reflect/ParameterizedType ? ? ? ? getActualTypeArguments ()[Ljava/lang/reflect/Type;
? ? ? 6(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
? ? ? !de/tsl2/nano/core/util/StringUtil ? beandef.attribute.decapitalize
? ? ? ? ? java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
? ? ? o ? de/tsl2/nano/core/ENV 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
? ? ? ? booleanValue
? ( decapitalize
6 B toLowerCase
6 charAt (I)C
java/lang/Character isUpperCase (C)Z
6 toCharArray ()[C
(C)C
6 ([C)V Y de/tsl2/nano/core/cls/IAttribute
6 compareTo (Ljava/lang/String;)I
! : hashCode
?
%&'
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; ) H* J(Ljava/lang/Class;Lde/tsl2/nano/core/cls/BeanAttribute;)Ljava/lang/String;
,- getBeanClass
/01
callMethod 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;34567
java/util/Map keySet ()Ljava/util/Set;9:;<=
java/util/Set toArray (([Ljava/lang/Object;)[Ljava/lang/Object;? [Ljava/lang/String;3A o ?
CDE setField 9(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
GH' getMethodAnnotation
JK' getFieldAnnotation
MNO getAnnotations $()[Ljava/lang/annotation/Annotation;
QRS&T &de/tsl2/nano/core/util/AnnotationProxy V([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
.VWX getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
ZM[ java/lang/reflect/Field
] ^ 6(Ljava/lang/String;)Lde/tsl2/nano/core/cls/IAttribute;
`a B toGenericString
cd ? initSerialization
fghi ? java/io/ObjectOutputStream defaultWriteObject klm declaringClass Ljava/lang/Class; opq name Ljava/lang/String;
stuv ? java/io/ObjectInputStream defaultReadObject
6xyz equals (Ljava/lang/Object;)Z
|}~ ? !de/tsl2/nano/core/util/ObjectUtil 7(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
?? %(Lde/tsl2/nano/core/cls/IAttribute;)I
.?? ? desiredAssertionStatus
????? de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; serialVersionUID J
ConstantValue??Mz??? Signature Ljava/lang/Class<*>; RuntimeVisibleAnnotations #Lorg/simpleframework/xml/Attribute; PREFIX_READ_ACCESS PREFIX_BOOLEAN_READ_ACCESS PREFIX_WRITE_ACCESS PREFIX_CLASS? class [Ljava/lang/Class<*>; ATTR_ENUM_NAMEp REGEXP_ATTR_NAME? [a-z][a-zA-Z0-9_]* J(Ljava/lang/Class;Ljava/lang/String;)Lde/tsl2/nano/core/cls/BeanAttribute; Code LineNumberTable LocalVariableTable clazz
attributeName LocalVariableTypeTable M(Ljava/lang/Class<*>;Ljava/lang/String;)Lde/tsl2/nano/core/cls/BeanAttribute; method throwException cachedBC !Lde/tsl2/nano/core/cls/BeanClass;
StackMapTable N(Ljava/lang/Class<*>;Ljava/lang/String;Z)Lde/tsl2/nano/core/cls/BeanAttribute; A(Ljava/lang/reflect/Method;)Lde/tsl2/nano/core/cls/BeanAttribute; e1 Ljava/lang/Exception; e
methodName C(Ljava/lang/Class<*>;Ljava/lang/String;Z)Ljava/lang/reflect/Method; removeAccessCheck this %Lde/tsl2/nano/core/cls/BeanAttribute; *Lde/tsl2/nano/core/cls/BeanAttribute; getAccessMethod ()Ljava/lang/reflect/Method; Ljava/lang/SecurityException; cls type Ljava/lang/Class; n(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method; getBeanAttributeWriter [(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanAttribute; attr ~(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class;)Lde/tsl2/nano/core/cls/BeanAttribute; getId getValue beanInstance Ljava/lang/Object; (Ljava/lang/Object;)TT; setValue '(Ljava/lang/Object;Ljava/lang/Object;)V value setName getNameFromSetter getAttributeName %(Ljava/lang/Class;)Ljava/lang/String;
returnType getNameFU ()Ljava/lang/Class; ()Ljava/lang/Class<*>; (I)Ljava/lang/Class; typePos I (I)Ljava/lang/Class<*>; genType 1(Ljava/lang/reflect/Method;I)Ljava/lang/Class<*>; string chars [C o "Lde/tsl2/nano/core/cls/IAttribute; 'Lde/tsl2/nano/core/cls/IAttribute; *(Lde/tsl2/nano/core/cls/IAttribute;)I obj getAnnotationValues 9(Ljava/lang/Class;[Ljava/lang/String;)[Ljava/lang/Object; i annotationClass memberNames a !Ljava/lang/annotation/Annotation; bc values Ljava/lang/Class; TA;? java/lang/annotation/Annotation ? d(Ljava/lang/Class;[Ljava/lang/String;)[Ljava/lang/Object; setAnnotationValues #(Ljava/lang/Class;Ljava/util/Map;)V annoationAttributes Ljava/util/Map; 5Ljava/util/Map; t(Ljava/lang/Class;Ljava/util/Map;)V annotationType methodAnn A(Ljava/lang/Class;)TA; f Ljava/lang/reflect/Field; 9(Ljava/lang/String;)Lde/tsl2/nano/core/cls/IAttribute<*>; toString writeObject (Ljava/io/ObjectOutputStream;)V out Ljava/io/ObjectOutputStream;
Exceptions java/io/IOException &Lorg/simpleframework/xml/core/Persist;
readObject (Ljava/io/ObjectInputStream;)V in Ljava/io/ObjectInputStream; java/lang/ClassNotFoundException
assureInit %Lorg/simpleframework/xml/core/Commit; hasExpectedName n isVirtual (Ljava/lang/Object;)I OLjava/lang/Object;Lde/tsl2/nano/core/cls/IAttribute;
SourceFile BeanAttribute.java !Lorg/simpleframework/xml/Default; %Lorg/simpleframework/xml/DefaultType; FIELD required BootstrapMethods
H! $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;# % is' 7No access method for attribute '' available on class ) get+ set- 3attribute with type is not available in class / .1 >no write access for attribute value ''! missing setter for: 3 )annotation not found on beanattribute InnerClasses6 %java/lang/invoke/MethodHandles$Lookup8 java/lang/invoke/MethodHandles Lookup ! ? ?? ? ? lm ? ?? ? pq ? ? ? d e ? l e ?q ? n ?q ? t ?q ? ? ?q ? ? ? ? + , ? ? ?q ? ? ?q ? ? V W x y 3 ? ? M *+? ? ? U? ?m ?q ? ?? ? ? ? ? .*? N-?
-+?
? ?*+? :? ? Y? ? ? ? h i j l m? 4 ? e .?m .?q .? y )?? ? .?? ? ? ? @ ? ? ? ? p "*? ? L+? +*? !?
? ?? Y*? ? ? v w x z? " d e ?? ? ? ? H a+? %N*-? )? -?:+? 5? +? ;? ?+? C? F ? J? L N*-? )? -?:? ? NW? ? T+*? X? Z ? [ ?
3 5 = > 3 ? > ? ? ? ? ? ? ? 5 ? > ? @ ? D ? M ? R ? Z ? _ ?? > @ !?? Q?? a?m a?q a? y \?q ? a?? ? + ? . 6 6 3? 3A 6N 3? 3? ? ' ( ? d %*? 5? *? ;? ?*? C? F ? J? a ? ? ? ? $ ?? %?q ? A 6 ? ? ? i *? b? f*? j? *? j? f? ? ? ? ? ?? ?? ? ?? ? ?? ? A *? b? ? ?? ?? ? ?? | } ? \ *? mn? p? *? mt? p? ? ? ? ?
? ?? ? e ? @ ? ? ? ? 8*? j? /? v? +? z?
? ~Y?? ??+? !M*+? ,+? ?? ?? j*? j? ? " ? ? ? # ? % ? * ? - ? 3 ?? # ?q 8?? 8 d e ? 8?? ? ? ? ? ? "*+? ?? ? ? .Y,S? -?N-? NW? N? ? ? ? ? ? ? ? ? ?? * ?? "?m "?q "?m ? "?? "?? ? V ?H ? ? ? ?? ? ? 6*+? N-? ,? Y? ?N-*+,? ?? j-? j? ? ?Y+,*? ? ? ??-? ? ? ? ? ? ? $ ? 4 ?? * 6?m 6?q 6?m /?? ? 6?? 6?? ? ? 4 ? ? ? ? E *? ?? ?
? ?? ? ?? ? X
*? ?*+? b? ? ?
??
d e ?
?? ? B ? S *? b? ? ?? ?*? ?? ? ? ? ? ?? ? ?? ? ? ? ? *? b? f*? b+? ?? ??M,? NW? 3 ? # $ % &