io.atlasmap.java.core.JavaFieldReader.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
? ? ? ? ? ~ ?
H ? ? ?
H ?
_
H
~
~
H ~
?
~
H !"#$
)%&
+'
+(
+)
*+ ?,
-.
+/
01
+2
?3 45
~6
?7
~89 ::
;
Z<
=>
=?
@A
?BCDEFEG
HICJCKLM
N
~O
?
?
*P
QR
+S
HT
+
HUCVWXY
HZ
~[\
]
Z^
_`abc
~d
~e
f_
fghi
g ?
Zj
Zk
lB
mn
Zo
(p
qr
_s
_t
_u
_v
_w 4x
Qy 4z
Z{ 4|
Q} {g~
??? LOG Lorg/slf4j/Logger; conversionService (Lio/atlasmap/spi/AtlasConversionService; sourceDocument Ljava/lang/Object; ()V Code LineNumberTable LocalVariableTable this 'Lio/atlasmap/java/core/JavaFieldReader; read >(Lio/atlasmap/spi/AtlasInternalSession;)Lio/atlasmap/v2/Field;
returnType Ljava/lang/Class; sourceField Lio/atlasmap/v2/Field; getter Ljava/lang/reflect/Method; e Ljava/lang/Exception; session &Lio/atlasmap/spi/AtlasInternalSession; LocalVariableTypeTable Ljava/lang/Class<*>;
StackMapTableL??#
Exceptions populateSourceFieldValue k(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/v2/Field;Ljava/lang/Object;Ljava/lang/reflect/Method;)V item i I updated child parent field source m atlasPath Lio/atlasmap/core/AtlasPath;
fieldGroup Lio/atlasmap/v2/FieldGroup; parents Ljava/util/List; cleanedLastSegment Ljava/lang/String; $Ljava/util/List;&???a? ? processField F(Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/v2/Field;Ljava/lang/Object;)V origField value resolveGetMethod j(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/v2/Field;)Ljava/lang/reflect/Method; getterMethod clazz sourceObject parentObject classTree &Ljava/util/List;>;\` getValueFromMemberField ^(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; fieldName reflectField Ljava/lang/reflect/Field;??? resolveMappableClasses #(Ljava/lang/Class;)Ljava/util/List; className
superClazz Signature <(Ljava/lang/Class<*>;)Ljava/util/List;>; lookupJavaField ?(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/reflect/Field; targetClazz capitalizeFirstLetter &(Ljava/lang/String;)Ljava/lang/String; sentence extractFromCollection h(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath;)Ljava/lang/Object; key lastSegment? SegmentContext InnerClasses +Lio/atlasmap/core/AtlasPath$SegmentContext; collectionType Lio/atlasmap/v2/CollectionType; index Ljava/lang/Integer;??? setDocument (Ljava/lang/Object;)V setConversionService +(Lio/atlasmap/spi/AtlasConversionService;)V
SourceFile JavaFieldReader.java ? ??????? ? ??? BUnable to read sourceField (path=%s), document (docId=%s) is null java/lang/Object???????????? io/atlasmap/java/v2/JavaField !io/atlasmap/java/v2/JavaEnumField ? ? 7Unable to auto-detect sourceField type path=%s docId=%s????? ? ?????? ? ???? java/lang/StringBuilder !Auto-detected sourceField type p=?? t=?????? ? ??? Processed input field sPath= sV=?? sT= docId: ?? java/lang/Exception io/atlasmap/api/AtlasException ?? io/atlasmap/core/AtlasPath ????????????????????????? ? ? ??? ? ? java/util/Collection?????????b???????????????????b? io/atlasmap/v2/Field AAssigning null value for path path=%s docId=%s due to null parent?? ? ????????????????????? ? ? ? java/lang/Class?????? java/lang/NoSuchMethodException java/lang/String get is ? ? ? ??b? #Field '%s' not found on object '%s' java/util/ArrayList??????? ?? ?
?
?? ?? ?
java/util/Map -Ignoring unknown collection type in path '%s' %io/atlasmap/java/core/JavaFieldReader io/atlasmap/spi/AtlasFieldReader java/lang/reflect/Method $io/atlasmap/spi/AtlasInternalSession io/atlasmap/v2/FieldGroup java/util/List [Ljava/lang/Object; java/util/Iterator java/lang/reflect/Field "java/lang/IllegalArgumentException java/lang/IllegalAccessException )io/atlasmap/core/AtlasPath$SegmentContext io/atlasmap/v2/CollectionType java/lang/Integer head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getSourceField ()Lio/atlasmap/v2/Field; getDocId ()Ljava/lang/String; getPath format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; io/atlasmap/v2/AuditStatus ERROR Lio/atlasmap/v2/AuditStatus; io/atlasmap/core/AtlasUtil addAudit ?(Lio/atlasmap/api/AtlasSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;)V getFieldType ()Lio/atlasmap/v2/FieldType; WARN
getReturnType ()Ljava/lang/Class; &io/atlasmap/spi/AtlasConversionService fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V org/slf4j/Logger isTraceEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString trace (Ljava/lang/String;)V isDebugEnabled getValue ()Ljava/lang/Object; debug (Ljava/lang/Throwable;)V
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 3(Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; setSourceField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; isRoot ()Ljava/lang/Boolean; java/lang/Boolean booleanValue getLastSegment -()Lio/atlasmap/core/AtlasPath$SegmentContext; getCollectionType !()Lio/atlasmap/v2/CollectionType; NONE getCollectionIndex ()Ljava/lang/Integer; toArray ()[Ljava/lang/Object; getClass isArray java/lang/reflect/Array getLength (Ljava/lang/Object;)I '(Ljava/lang/Object;I)Ljava/lang/Object; !io/atlasmap/java/core/ClassHelper getParentObjectsForPath f(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/core/AtlasPath;)Ljava/util/List; getName iterator ()Ljava/util/Iterator; hasNext next getField ()Ljava/util/List; size ()I (I)Ljava/lang/Object; invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; copyField 0(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Z)V valueOf (I)Ljava/lang/Integer; setVacantCollectionIndex @(Ljava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setIndex (Ljava/lang/Integer;)V setPath add (Ljava/lang/Object;)Z isPrimitive &(Ljava/lang/Class;)Ljava/lang/Boolean; isBoxedPrimitive
copyPrimitive &(Ljava/lang/Object;)Ljava/lang/Object; setValue getGetMethod getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
setAccessible (Z)V
getSuperclass
getPackage ()Ljava/lang/Package; java/lang/Package !io/atlasmap/java/core/JdkPackages contains '(Ljava/lang/String;)Ljava/lang/Boolean; getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
getMessage io/atlasmap/java/core/StringUtil isEmpty (Ljava/lang/String;)Z length charAt (I)C (C)Ljava/lang/String; toUpperCase substring (I)Ljava/lang/String; ARRAY intValue LIST cast MAP org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! ~ ? ? ? ? ? ? ?
? ? ? / *? ? ? ? ? ? ? ? ? b A+? ? M*? ? *+,? ? Y,? SY,? S? ,? ?
? N,? ? ?,?
?
,? ? ?*+*? ,? N-? ,+,? ? Y,? SY,? S? ,? ? ? ,?-? :,*? ? ? ? ? ? -? ? Y? ? ,? ? ? ,? ? ? ? *+,*? -? ? ? ! ? E? ? Y? "? ,? ? #? ,? $? %? ,? ? &? ,? ? ? ? ' +? ? ?M? )Y,? *? ?7 ( ?67 ( ? ~ % &