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?
? ? ? ? ? m ?
% ? ? ?
% ?
? ? ? ?
? ? ?
?
m ? m ? ? ? ?
? ?
? ?
% ?
? ?
% ? ?
? ? ?
?
?
? ?
0 ? ? ? ? ? ? ? ? ? ?
% ? ? ?
( ? ?
* ?
? ?
? ?
( ?
m
m
% ?
<
m
?
?
<
?
?
%!
<"#
O$
<%
&'()
'*+ ?,-.
m/
01
%2
%3 ?456 ?78 ?9:;:<
m= ?>
?
0 ?@
ABC 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;
fieldGroup Lio/atlasmap/v2/FieldGroup; field Lio/atlasmap/v2/Field; path Lio/atlasmap/core/AtlasPath; fields Ljava/util/List; e Ljava/lang/Exception; session &Lio/atlasmap/spi/AtlasInternalSession; LocalVariableTypeTable (Ljava/util/List;
StackMapTable ? ?D@E ?
Exceptions getFieldsForPath }(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/v2/Field;Lio/atlasmap/core/AtlasPath;I)Ljava/util/List; group newField childFields indexItem itemField itemPath arrayFields i I items source depth segments segmentContext SegmentContext InnerClasses +Lio/atlasmap/core/AtlasPath$SegmentContext;
childAccessor 2Lio/atlasmap/java/core/accessor/JavaChildAccessor; Ljava/util/List<*>; =Ljava/util/List;F Signature ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/v2/Field;Lio/atlasmap/core/AtlasPath;I)Ljava/util/List; getAccessorForSegment ?(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/Object;Lio/atlasmap/v2/Field;Lio/atlasmap/core/AtlasPath;Lio/atlasmap/core/AtlasPath$SegmentContext;)Lio/atlasmap/java/core/accessor/JavaChildAccessor; accessor detectFieldType q(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/java/core/accessor/JavaChildAccessor;Lio/atlasmap/v2/Field;)V
returnType Ljava/lang/Class; Ljava/lang/Class<*>;G populateChildFields L(Ljava/lang/Object;Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/core/AtlasPath;)V
childGroup childPath child newChildrenH populateCollectionItems e(Lio/atlasmap/java/core/accessor/JavaChildAccessor;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; itemGroup setDocument (Ljava/lang/Object;)V setConversionService +(Lio/atlasmap/spi/AtlasConversionService;)V
SourceFile JavaFieldReader.java v wEIKLMN t uOP BUnable to read sourceField (path=%s), document (docId=%s) is null java/lang/ObjectQPRSTUVWXYZ io/atlasmap/core/AtlasPath v[ ? ? p q\]^ java/lang/StringBuilder Processed input field sPath=_` sV=ab_c sT=de docId: fPg[h^i^jklmnDopqrstuv io/atlasmap/v2/Fieldw ? java/lang/Exception io/atlasmap/api/AtlasException vx java/util/ArrayListyz $depth '%s' exceeds segment size '%s'{|} io/atlasmap/v2/FieldGroup~? ? ???? r s???????^???????? )io/atlasmap/core/AtlasPath$SegmentContext????? ? ?F?b?? AAssigning null value for path path=%s docId=%s due to null parent?W???t?v?n???????[?^ +io/atlasmap/java/core/accessor/RootAccessor v ??P??? #Field '%s' not found on object '%s' +Cannot access field '%s' on object '%s': %s?P ?? io/atlasmap/java/v2/JavaField !io/atlasmap/java/v2/JavaEnumField ? ??? 7Cannot access the type of field '%s' on object '%s': %s?????^ !Auto-detected sourceField type p= t=?[ 7Unable to auto-detect sourceField type path=%s docId=%s??H?^?b ? ?? w 1Couldn't find a collection object for field %s:%s %io/atlasmap/java/core/JavaFieldReader??? io/atlasmap/spi/AtlasFieldReader java/util/List $io/atlasmap/spi/AtlasInternalSession 0io/atlasmap/java/core/accessor/JavaChildAccessor java/lang/Class java/util/Iterator head Head -()Lio/atlasmap/spi/AtlasInternalSession$Head; )io/atlasmap/spi/AtlasInternalSession$Head getSourceField ()Lio/atlasmap/v2/Field; getDocId ()Ljava/lang/String; getPath java/lang/String 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 (Ljava/lang/String;)V org/slf4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getValue ()Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getFieldType ()Lio/atlasmap/v2/FieldType; toString debug
hasCollection isIndexedCollection io/atlasmap/v2/AtlasModelFactory createFieldGroupFrom 4(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/FieldGroup; getField ()Ljava/util/List; addAll (Ljava/util/Collection;)Z setSourceField C(Lio/atlasmap/v2/Field;)Lio/atlasmap/spi/AtlasInternalSession$Head; size ()I get (I)Ljava/lang/Object; setValue (Ljava/lang/Throwable;)V getSegments (Z)Ljava/util/List; java/lang/Integer valueOf (I)Ljava/lang/Integer; io/atlasmap/v2/FieldType COMPLEX Lio/atlasmap/v2/FieldType; )io/atlasmap/java/v2/AtlasJavaModelFactory cloneJavaField /(Lio/atlasmap/v2/Field;Z)Lio/atlasmap/v2/Field; getClass ()Ljava/lang/Class; &io/atlasmap/spi/AtlasConversionService isPrimitive &(Ljava/lang/Class;)Ljava/lang/Boolean; java/lang/Boolean booleanValue isBoxedPrimitive
copyPrimitive &(Ljava/lang/Object;)Ljava/lang/Object; setIndex (Ljava/lang/Integer;)V add (Ljava/lang/Object;)Z getCollectionType !()Lio/atlasmap/v2/CollectionType; io/atlasmap/v2/CollectionType NONE Lio/atlasmap/v2/CollectionType; getRawValue getLastSegment -()Lio/atlasmap/core/AtlasPath$SegmentContext; WARN getCollectionIndex ()Ljava/lang/Integer; intValue
getValueAt getCollectionValues cloneFieldGroup 8(Lio/atlasmap/v2/FieldGroup;)Lio/atlasmap/v2/FieldGroup; setCollectionIndexRecursively (Lio/atlasmap/v2/FieldGroup;II)V setCollectionIndex A(ILjava/lang/Integer;)Lio/atlasmap/core/AtlasPath$SegmentContext; setPath isRoot getName !io/atlasmap/java/core/ClassHelper lookupAccessor X(Ljava/lang/Object;Ljava/lang/String;)Lio/atlasmap/java/core/accessor/JavaChildAccessor;
getMessage error *(Ljava/lang/String;Ljava/lang/Throwable;)V getRawClass fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType; setFieldType (Lio/atlasmap/v2/FieldType;)V isTraceEnabled trace iterator ()Ljava/util/Iterator; hasNext next clear org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! m o p q r s t u
v w x / *? ? y z { | } ~ x ?+? ? M*? ? *+,? ? Y,? SY,? S? ,? ?
? ? Y,? ?
N*+*? ,-? :? ? ? E? ? Y? ? ,? ? ? ,? ? ? ,? ? ? ,? ? ? ? -? ? /-? ? (,? :? ? ! W+? ? " W?? # ? ,? $ ? %? ? &,?,?M? (Y,? )? ? ? ' ? ? ? ' ? ? ? ' y b $ % &